Trying to add water
This commit is contained in:
@@ -17,7 +17,8 @@ target_sources(Engine
|
||||
Skybox.h
|
||||
SphereCollider.h
|
||||
Transform.h
|
||||
Transform.cpp)
|
||||
Transform.cpp
|
||||
WaterTile.h)
|
||||
|
||||
|
||||
target_sources(Engine
|
||||
@@ -36,4 +37,5 @@ target_sources(Engine
|
||||
ShapeBase.h
|
||||
Skybox.h
|
||||
SphereCollider.h
|
||||
Transform.h)
|
||||
Transform.h
|
||||
WaterTile.h)
|
||||
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include "MinimalEngine.h"
|
||||
#include "Math/Vector.h"
|
||||
|
||||
namespace Seele {
|
||||
namespace Component
|
||||
{
|
||||
struct WaterTile
|
||||
{
|
||||
IVector2 location;
|
||||
float height;
|
||||
constexpr static float DIMENSIONS = 100;
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user