This commit is contained in:
Kbz-8
2024-02-12 18:34:01 +01:00
parent 54c4ae77f2
commit 7f26b839c3
3 changed files with 28 additions and 55 deletions

View File

@ -4,6 +4,8 @@ function renderCube(ctx, x, y, z, angle = 0, sx = 1, sy = 1, sz = 1)
{
const modelMatrix = mat4.create();
console.log("test")
mat4.translate(
modelMatrix,
modelMatrix,