Browse Source

added default height

jbousquie 10 years ago
parent
commit
6ddf075fa3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Mesh/babylon.mesh.vertexData.ts

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

@@ -788,7 +788,7 @@
             var subdivisions: number;
 
             if (options.height) {
-                height = options.height;
+                height = options.height || 3;
                 diameterTop = options.diameterTop || 1;
                 diameterBottom = options.diameterBottom || 1;
                 tessellation = options.tessellation || 24;