Explorar o código

fixed buffer input rotation name

Nicolas Cannasse %!s(int64=2) %!d(string=hai) anos
pai
achega
5b460d8f95
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 },
 			]);