chore: added notice and disabled warnings for file

This commit is contained in:
maelstrom 2025-06-08 16:24:59 +02:00
parent 7a1a42788e
commit c412546209
2 changed files with 5 additions and 1 deletions

View file

@ -47,3 +47,5 @@ The compiled binaries should then be placed in `./build/bin/` and should be read
If any of the compilation steps fail, or the binaries fail to execute, please create an issue so that this can be corrected. If any of the compilation steps fail, or the binaries fail to execute, please create an issue so that this can be corrected.
\* Release mode is necessary as debug mode copies DLLs that are not linked to the output binary \* Release mode is necessary as debug mode copies DLLs that are not linked to the output binary
DEVELOPER NOTE: AKA Not for you. If you get CUSTOM COMMAND BUILD errors just keep rerunning build

View file

@ -1,5 +1,7 @@
#include "defaultmeshes.h" #include "defaultmeshes.h"
#pragma warning( disable : 4305 )
static float CUBE_VERTICES[] = { static float CUBE_VERTICES[] = {
// positions // normals // texture coords // positions // normals // texture coords
0.5, -0.5, -0.5, -0.0, -0.0, -1.0, 1.0, 0.0, 0.5, -0.5, -0.5, -0.0, -0.0, -1.0, 1.0, 0.0,