ソースを参照

fixed default sphere should be unit sphere

Nicolas Cannasse 1 年間 前
コミット
ab6cb9879d
1 ファイル変更1 行追加1 行削除
  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);
 	}