Fix compile

This commit is contained in:
luboslenco
2023-12-04 17:35:39 +01:00
parent 4441cfe75c
commit c2d336d145
2 changed files with 7 additions and 6 deletions
@@ -213,10 +213,10 @@ class RenderPathPaint {
var right = Scene.active.camera.rightWorld().normalize();
g.setFloat3(App.cursorCameraRight, right.x, right.y, right.z);
g.setFloat3(App.cursorTint, tintR, tintG, tintB);
g.setMatrix(App.cursorVP, Scene.active.camera.VP.self);
g.setMatrix(App.cursorVP, Scene.active.camera.VP);
var helpMat = iron.math.Mat4.identity();
helpMat.getInverse(Scene.active.camera.VP);
g.setMatrix(App.cursorInvVP, helpMat.self);
g.setMatrix(App.cursorInvVP, helpMat);
#if (krom_metal || krom_vulkan)
g.setVertexBuffer(geom.get([{name: "tex", data: "short2norm"}]));
#else