Răsfoiți Sursa

fixed buffer input rotation name

Nicolas Cannasse 2 ani în urmă
părinte
comite
5b460d8f95
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      h3d/parts/Particles.hx

+ 1 - 1
h3d/parts/Particles.hx

@@ -370,7 +370,7 @@ class Particles extends h3d.scene.Mesh {
 			format = PART_FMT = hxd.BufferFormat.make([
 				{ name : "position", type : DVec3 },
 				{ name : "rpos", type : DVec2 },
-				{ name : "rotation", type : DFloat },
+				{ name : "rot", type : DFloat },
 				{ name : "size", type : DVec2 },
 				{ name : "uv", type : DVec2 },
 			]);