summaryrefslogtreecommitdiff
path: root/3d/rigidbody
diff options
context:
space:
mode:
Diffstat (limited to '3d/rigidbody')
-rwxr-xr-x3d/rigidbody/dist/output.wasmbin43282 -> 43282 bytes
-rw-r--r--3d/rigidbody/main.cpp9
2 files changed, 9 insertions, 0 deletions
diff --git a/3d/rigidbody/dist/output.wasm b/3d/rigidbody/dist/output.wasm
index 9365ee9..d6fadbe 100755
--- a/3d/rigidbody/dist/output.wasm
+++ b/3d/rigidbody/dist/output.wasm
Binary files differ
diff --git a/3d/rigidbody/main.cpp b/3d/rigidbody/main.cpp
index 1dfc593..c83018b 100644
--- a/3d/rigidbody/main.cpp
+++ b/3d/rigidbody/main.cpp
@@ -13,6 +13,15 @@
#include <cmath>
#include <cfloat>
+struct Rigidbody3d {
+ Vector3 velocity;
+ Vector3 position;
+
+ void update(float32 dtSeconds) {
+
+ }
+};
+
struct Cube {
Mesh3d mesh;