add hit "animation"
This commit is contained in:
@@ -16,6 +16,7 @@ public:
|
||||
struct Model {
|
||||
GL::VertexArray* vao;
|
||||
Vec2f positon;
|
||||
Vec3f color = { 1, 1, 1 };
|
||||
};
|
||||
private:
|
||||
std::unique_ptr<shader::WorldShader> m_WorldShader;
|
||||
|
||||
@@ -13,6 +13,7 @@ private:
|
||||
unsigned int m_LocationAspectRatio = 0;
|
||||
unsigned int m_LocationTranslation = 0;
|
||||
unsigned int m_LocationViewtype = 0;
|
||||
unsigned int m_LocationColorEffect = 0;
|
||||
protected:
|
||||
virtual void GetAllUniformLocation();
|
||||
public:
|
||||
@@ -24,6 +25,7 @@ public:
|
||||
void SetAspectRatio(float aspectRatio);
|
||||
void SetModelPos(const Vec2f& modelPos);
|
||||
void SetIsometricView(float isometric);
|
||||
void SetColorEffect(const Vec3f& color);
|
||||
};
|
||||
|
||||
} // namespace shader
|
||||
|
||||
Reference in New Issue
Block a user