Browse Source

Remove unneeded parameter

Garrett Johnson 7 năm trước cách đây
mục cha
commit
7f57a46b1a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/webgl_physics_terrain.html

+ 1 - 1
examples/webgl_physics_terrain.html

@@ -204,7 +204,7 @@
 
 						// Create the terrain body
 
-						var groundShape = createTerrainShape( heightData );
+						var groundShape = createTerrainShape();
 						var groundTransform = new Ammo.btTransform();
 						groundTransform.setIdentity();
 						// Shifts the terrain, since bullet re-centers it on its bounding box.