rosaqq / lekek

Java game engine project with LWJGL.
MIT License
0 stars 0 forks source link

GameItemMesh #37

Closed rosaqq closed 3 years ago

rosaqq commented 3 years ago

Create GameItemMesh to define specific Mesh render implementation:

int drawMode = GL_TRIANGLES;
...
Matrix4f transformationResult = Transformation.getModelViewMatrix(this, viewMatrix);
shaderProgram.setUniform("modelViewMatrix", transformationResult );

image