Browse Source

vertexData.createRibbon update

jbousquie 10 năm trước cách đây
mục cha
commit
718d22d27d
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/Mesh/babylon.mesh.vertexData.ts

+ 0 - 1
src/Mesh/babylon.mesh.vertexData.ts

@@ -787,7 +787,6 @@
         public static CreateCylinder(height: number, diameterTop: number, diameterBottom: number, tessellation: number, subdivisions: number, sideOrientation?: number): VertexData;
         public static CreateCylinder(options: any, diameterTop?: number, diameterBottom?: number, tessellation?: number, subdivisions?: number, sideOrientation: number = Mesh.DEFAULTSIDE): VertexData {
             var height = height || options.height || 3;
-            height = options.height || 3;
             diameterTop = diameterTop || options.diameterTop || 1;
             diameterBottom = diameterBottom || options.diameterBottom || 1;
             tessellation = tessellation || options.tessellation || 24;