From 95cde5c181b5fd1d9ee3f13db749799c4e8ac9d3 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Mon, 13 Jun 2022 22:15:48 +0200 Subject: add raylib to the build chain with -O3 and -march=native --- src/yabs_core.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/yabs_core.cpp') 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 -#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); } -- cgit v1.2.3