Browse Source

Fix MeshBatch sample compilation.

clementlandrin 6 months ago
parent
commit
94ecb461d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      samples/MeshBatch.hx

+ 1 - 1
samples/MeshBatch.hx

@@ -71,7 +71,7 @@ class MeshBatch extends hxd.App {
 			batch.y = m.y;
 			batch.setScale(m.scale);
 			batch.setRotation(0,0,m.rot);
-			shader.color.load(m.color.toVec3());
+			shader.color.load(m.color.toVector());
 			batch.emitInstance();
 		}
 	}