bstouls 9 سال پیش
والد
کامیت
0b0016d0dd
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      h3d/parts/GpuParticles.hx

+ 1 - 0
h3d/parts/GpuParticles.hx

@@ -641,6 +641,7 @@ class GpuParticles extends h3d.scene.MultiMaterial {
 		}
 		if( g.pshader.transform3D ) {
 			var r = ctx.camera.target.sub(ctx.camera.pos);
+			r.z = 0;
 			r.normalize();
 			var q = new h3d.Quat();
 			q.initDirection(r);