meshes!
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#include "Log.h"
|
||||
#include "Puzzle.h"
|
||||
#include "rendering/Rendering.h"
|
||||
|
||||
#include "bx/bx.h"
|
||||
#include <cassert>
|
||||
|
||||
namespace
|
||||
@@ -18,14 +21,11 @@ namespace Puzzle
|
||||
{
|
||||
void StaticPuzzleData::Setup()
|
||||
{
|
||||
if (StaticDataInstance == nullptr)
|
||||
StaticDataInstance = this;
|
||||
Log("Setting up static puzzle data");
|
||||
for (int32_t i = 0; i < BX_COUNTOF(Cards); ++i)
|
||||
{
|
||||
StaticDataInstance = this;
|
||||
Log("Setting up static puzzle data");
|
||||
}
|
||||
else
|
||||
{
|
||||
Log("Static puzzle data already set up");
|
||||
Cards[i].ModelHandle = Game::GameRendering::Get().GetModelHandleFromPath("models/w straight.glb");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user