Explorar o código

fixed default sphere should be unit sphere

Nicolas Cannasse hai 1 ano
pai
achega
ab6cb9879d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      h3d/col/Sphere.hx

+ 1 - 1
h3d/col/Sphere.hx

@@ -7,7 +7,7 @@ class Sphere extends Collider {
 	public var z : Float;
 	public var r : Float;
 
-	public inline function new(x=0., y=0., z=0., r=0.) {
+	public inline function new(x=0., y=0., z=0., r=1.) {
 		load(x, y, z, r);
 	}