diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2021-07-18 20:43:15 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-07-18 20:43:15 -0400 |
commit | 62817a0737a7ea7e0a6d54647648b9ab07280f44 (patch) | |
tree | 3b1e905bde07fb255575cf0517449c86ecd24ae7 /3d/rigidbody | |
parent | 25dba9a853ba2aaab3cc89214927d74a774a01a2 (diff) |
(mkosarek) better mathlib now containing quaternions
Diffstat (limited to '3d/rigidbody')
-rwxr-xr-x | 3d/rigidbody/dist/output.wasm | bin | 43282 -> 43282 bytes | |||
-rw-r--r-- | 3d/rigidbody/main.cpp | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/3d/rigidbody/dist/output.wasm b/3d/rigidbody/dist/output.wasm Binary files differindex 9365ee9..d6fadbe 100755 --- a/3d/rigidbody/dist/output.wasm +++ b/3d/rigidbody/dist/output.wasm 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; |