fix(lua): accidentally added lua libs outside of lua.h

This commit is contained in:
maelstrom 2025-06-08 16:24:59 +02:00
parent 024d6a9243
commit 077b153953
4 changed files with 5 additions and 4 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

@ -3,7 +3,6 @@
#include "error/data.h" #include "error/data.h"
#include "logger.h" #include "logger.h"
#include "variant.h" // IWYU pragma: keep #include "variant.h" // IWYU pragma: keep
#include <luajit-2.1/lua.h>
#include <memory> #include <memory>
#include <optional> #include <optional>
#include "objects/base/instance.h" #include "objects/base/instance.h"

View file

@ -3,8 +3,6 @@
#include "variant.h" #include "variant.h"
#include "lua.h" #include "lua.h"
#include <cstdio> #include <cstdio>
#include <luajit-2.1/lauxlib.h>
#include <luajit-2.1/lua.h>
#include <pugixml.hpp> #include <pugixml.hpp>
#include <memory> #include <memory>
#include <vector> #include <vector>

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,