diff --git a/examples/example1/build.bat b/examples/example1/build.bat index b7bef79..2bf2ea9 100644 --- a/examples/example1/build.bat +++ b/examples/example1/build.bat @@ -7,12 +7,12 @@ mkdir build if "%1"=="--setup" ( git submodule update --init pushd ".\external\raylib\" - cmake -S . -B build -DBUILD_EXAMPLES=Off + cmake -S . -B build -DBUILD_EXAMPLES=Off -DCMAKE_BUILD_TYPE=Debug cmake --build build popd ) pushd ".\build" -cl /Zi raylib.lib user32.lib opengl32.lib gdi32.lib winmm.lib msvcrt.lib shell32.lib "..\example1.c" -Ic:"\external\raylib\build\raylib\include" /link /libpath:c:"..\external\raylib\build\raylib\Release" /NODEFAULTLIB:libcmt /NODEFAULTLIB:msvcrt /NODEFAULTLIB:libcmtd +cl /Zi raylib.lib user32.lib opengl32.lib gdi32.lib winmm.lib msvcrt.lib shell32.lib "..\example1.c" -Ic:"\external\raylib\build\raylib\include" /link /libpath:c:"..\external\raylib\build\raylib\Debug" /NODEFAULTLIB:libcmt /NODEFAULTLIB:msvcrtd /NODEFAULTLIB:libcmtd if "%1"=="--run" if %errorlevel%==0 example1.exe popd diff --git a/examples/example1/example1.c b/examples/example1/example1.c index 5f0c561..138392a 100644 --- a/examples/example1/example1.c +++ b/examples/example1/example1.c @@ -87,6 +87,7 @@ void RenderSystem(BECS_ECS *ecs, float dt, Position *pos, ParticleData *data) { } } +// NOTE: This didn't actually improve it as much as I wanted. Gotta look for a better way to render. void DrawCircleBatched(Vector2 *positions, float *radii, Color *colors, uint32_t count, uint32_t segments) { rlBegin(RL_TRIANGLES); for(uint32_t i=0 ;i