card rotation
This commit is contained in:
@@ -71,6 +71,7 @@ namespace Game
|
||||
T* Data = nullptr;
|
||||
uint32_t EntitySize = 0;
|
||||
T InvalidObject{};
|
||||
bool IsEnabled = true;
|
||||
|
||||
public:
|
||||
// Returns true if size changed
|
||||
@@ -119,6 +120,7 @@ namespace Game
|
||||
|
||||
void Render(const Model* models, const Material* materials)
|
||||
{
|
||||
if (!IsEnabled) return;
|
||||
for (uint16_t i = 0; i < Count; ++i)
|
||||
{
|
||||
Get({i}).EData.Render(models, materials);
|
||||
|
||||
Reference in New Issue
Block a user