rename .hpp headers to .h
This commit is contained in:
24
engine/app.h
Normal file
24
engine/app.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "shader.h"
|
||||
#include "shape.h"
|
||||
#include "texture.h"
|
||||
#include "layout.h"
|
||||
|
||||
class App
|
||||
{
|
||||
Sampler sampler;
|
||||
Texture2D tex;
|
||||
Node layout;
|
||||
public:
|
||||
static App I;
|
||||
float width;
|
||||
float height;
|
||||
void init();
|
||||
void create();
|
||||
void update(float dt);
|
||||
void resize(float w, float h);
|
||||
void mouse_down(int button, float x, float y);
|
||||
void mouse_move(float x, float y);
|
||||
void mouse_up(int button, float x, float y);
|
||||
};
|
||||
Reference in New Issue
Block a user