Bläddra i källkod

- remove forward spotlight

ShiroSmith 7 år sedan
förälder
incheckning
346157eb94
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      hide/prefab/Light.hx

+ 1 - 1
hide/prefab/Light.hx

@@ -111,7 +111,7 @@ class Light extends Object3D {
 			switch( kind ) {
 			case Point: ctx.local3d = new h3d.scene.PointLight(ctx.local3d);
 			case Directional: ctx.local3d = new h3d.scene.DirLight(ctx.local3d);
-			case Spot: ctx.local3d = new h3d.scene.SpotLight(ctx.local3d);
+			case Spot:
 			}
 		} else {
 			switch( kind ) {