updated sol state invocations

This commit is contained in:
devZoGok
2023-09-03 09:05:06 +03:00
parent 799cada346
commit 8216c781c2
14 changed files with 43 additions and 22 deletions
+3 -2
View File
@@ -1,3 +1,5 @@
#include <solUtil.h>
#include "unitFrameController.h"
#include "util.h"
#include "map.h"
@@ -9,8 +11,6 @@
#include <root.h>
#include <ray.h>
#include <solUtil.h>
#include <string>
namespace battleship{
@@ -47,6 +47,7 @@ namespace battleship{
MeshData::Vertex *verts = meshData.vertices;
int numVerts = 3 * meshData.numTris;
sol::state_view SOL_LUA_STATE = generateView();
float maxUnevenness = SOL_LUA_STATE["maxUnevenness"];
Camera *cam = Root::getSingleton()->getCamera();