瀏覽代碼

change in Sphere API

ncannasse 9 年之前
父節點
當前提交
5de69922a7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/fbx/TreeView.hx

+ 1 - 1
tools/fbx/TreeView.hx

@@ -10,7 +10,7 @@ class Joint {
 	public function new (j : h3d.anim.Skin.Joint, parent: h3d.scene.Skin) {
 	public function new (j : h3d.anim.Skin.Joint, parent: h3d.scene.Skin) {
 		this.j = j;
 		this.j = j;
 
 
-		var p = new h3d.prim.Sphere(16, 16);
+		var p = new h3d.prim.Sphere(1, 16, 16);
 		p.addNormals();
 		p.addNormals();
 		s = new h3d.scene.Mesh(p, parent);
 		s = new h3d.scene.Mesh(p, parent);
 		s.setScale(0.015);
 		s.setScale(0.015);