|
@@ -241,7 +241,7 @@ class EmitterObject extends h3d.scene.Object {
|
|
tmpq.initRotation(0, -hxd.Math.atan2(dy, dx), Math.PI/2);
|
|
tmpq.initRotation(0, -hxd.Math.atan2(dy, dx), Math.PI/2);
|
|
case Box:
|
|
case Box:
|
|
offset.set(random.srand(0.5), random.srand(0.5), random.srand(0.5));
|
|
offset.set(random.srand(0.5), random.srand(0.5), random.srand(0.5));
|
|
- tmpq.initRotation(1, 0, 0);
|
|
|
|
|
|
+ tmpq.identity();
|
|
case Sphere:
|
|
case Sphere:
|
|
do {
|
|
do {
|
|
offset.x = random.srand(1.0);
|
|
offset.x = random.srand(1.0);
|