瀏覽代碼

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);
 	}