Browse Source

Add missing Shape constructors;

bjorn 2 years ago
parent
commit
8587770cc5
2 changed files with 555 additions and 960 deletions
  1. 550 959
      api/init.lua
  2. 5 1
      api/lovr/physics/Shape/init.lua

File diff suppressed because it is too large
+ 550 - 959
api/init.lua


+ 5 - 1
api/lovr/physics/Shape/init.lua

@@ -8,9 +8,13 @@ return {
     'lovr.physics.newCapsuleShape',
     'lovr.physics.newCapsuleShape',
     'lovr.physics.newCylinderShape',
     'lovr.physics.newCylinderShape',
     'lovr.physics.newSphereShape',
     'lovr.physics.newSphereShape',
+    'lovr.physics.newMeshShape',
+    'lovr.physics.newTerrainShape',
     'World:newBoxCollider',
     'World:newBoxCollider',
     'World:newCapsuleCollider',
     'World:newCapsuleCollider',
     'World:newCylinderCollider',
     'World:newCylinderCollider',
-    'World:newSphereCollider'
+    'World:newSphereCollider',
+    'World:newMeshCollider',
+    'World:newTerrainCollider'
   }
   }
 }
 }

Some files were not shown because too many files changed in this diff