summaryrefslogtreecommitdiff
path: root/src/physics/physics.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 23:00:26 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 23:00:26 +1000
commitb03bde3d412148cd573f5f14012cdd270f309947 (patch)
tree848af582079a60787cc5a5f8138e7ca6d508f2ee /src/physics/physics.h
parent48a703e52490cb52fd32e54e3e37f7e70462a267 (diff)
starting work on immediate mode drawing
Diffstat (limited to 'src/physics/physics.h')
-rw-r--r--src/physics/physics.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/physics/physics.h b/src/physics/physics.h
deleted file mode 100644
index e0e3b89..0000000
--- a/src/physics/physics.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-
-#include "geometry.h"
-#include "maths_types.h"
-
-// 'system' means that it gets called per frame
-
-typedef struct physics_settings {
- f32 gravity_strength;
-} physics_settings;
-
-// What else do I need?
-// intersection methods
-
-typedef struct physics_world {
- physics_settings settings;
-} physics_world;
-
-physics_world physics_init(physics_settings settings);
-void physics_shutdown(physics_world* phys_world);
-
-/** @brief perform one or more simulation steps */
-void physics_system_update(physics_world* phys_world, f64 deltatime); \ No newline at end of file