aboutsummaryrefslogtreecommitdiffstats
path: root/src/yabs_core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yabs_core.cpp')
-rw-r--r--src/yabs_core.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/yabs_core.cpp b/src/yabs_core.cpp
index 3648dfb..fabfb09 100644
--- a/src/yabs_core.cpp
+++ b/src/yabs_core.cpp
@@ -8,7 +8,6 @@
#include <stdlib.h>
-#include "raymath.h"
#include "yabs_core.h"
namespace yabs {
@@ -27,7 +26,7 @@ int reset_camera(Scene3D& scene_3d) {
return (0);
}
-int draw(gameState const& game_state, Model& model) {
+int draw(Model& model) {
// draw checkerboard model
for (int x = 0; x < 50; x++) {
for (int z = 0; z < 50; z++) {
@@ -38,8 +37,6 @@ int draw(gameState const& game_state, Model& model) {
DrawModel(model, position, 1.0f, WHITE);
}
}
-
- // end draw
return (0);
}
@@ -92,7 +89,6 @@ int tick(Scene3D& scene_3d) {
scene_3d.camera.target.x = scene_3d.camera.position.x - transform.m12;
scene_3d.camera.target.y = scene_3d.camera.position.y - transform.m13;
scene_3d.camera.target.z = scene_3d.camera.position.z - transform.m14;
-
return (0);
}