Преглед изворни кода

updated geometry.ts : CreatePlane new signature call

jbousquie пре 10 година
родитељ
комит
dd01bdc6da
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Mesh/babylon.geometry.ts

+ 1 - 1
src/Mesh/babylon.geometry.ts

@@ -730,7 +730,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreatePlane(this.size, this.side);
+                return VertexData.CreatePlane({size: this.size, sideOrientation: this.side});
             }
 
             public copy(id: string): Geometry {