mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
updated sol state invocations
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user