From 62817a0737a7ea7e0a6d54647648b9ab07280f44 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Sun, 18 Jul 2021 20:43:15 -0400 Subject: (mkosarek) better mathlib now containing quaternions --- 3d/rigidbody/dist/output.wasm | Bin 43282 -> 43282 bytes 3d/rigidbody/main.cpp | 9 +++++++++ 2 files changed, 9 insertions(+) (limited to '3d') diff --git a/3d/rigidbody/dist/output.wasm b/3d/rigidbody/dist/output.wasm index 9365ee9..d6fadbe 100755 Binary files a/3d/rigidbody/dist/output.wasm and b/3d/rigidbody/dist/output.wasm 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 #include +struct Rigidbody3d { + Vector3 velocity; + Vector3 position; + + void update(float32 dtSeconds) { + + } +}; + struct Cube { Mesh3d mesh; -- cgit v1.2.1