mirror of
https://github.com/edubart/otclient.git
synced 2025-11-04 20:46:24 +01:00
introduce matrix class and use it
This commit is contained in:
@@ -46,9 +46,9 @@ public:
|
||||
|
||||
bool link();
|
||||
|
||||
void setProjectionMatrix(GLfloat projectionMatrix[3][3]);
|
||||
void setProjectionMatrix(const Matrix3& projectionMatrix);
|
||||
void setColor(const Color& color);
|
||||
void setOpacity(GLfloat opacity);
|
||||
void setOpacity(float opacity);
|
||||
void setTexture(const TexturePtr& texture);
|
||||
void setUniformTexture(int location, const TexturePtr& texture, int index);
|
||||
void draw(const CoordsBuffer& coordsBuffer, DrawMode drawMode = Triangles);
|
||||
|
||||
Reference in New Issue
Block a user