Parcourir la source

Fix MeshBatch sample compilation.

clementlandrin il y a 6 mois
Parent
commit
94ecb461d4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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();
 		}
 	}