mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 11:09:19 +02:00
WIP
This commit is contained in:
11
entitysystem/systems/LODSystem.h
Normal file
11
entitysystem/systems/LODSystem.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "BaseSystem.h"
|
||||
|
||||
// Reads LODController + Transform on each entity and toggles MeshRenderer.visible
|
||||
// based on distance to camera. Runs every Update tick.
|
||||
class LODSystem : public BaseSystem
|
||||
{
|
||||
public:
|
||||
void Update(ECWorld& world, float dt) override;
|
||||
};
|
||||
Reference in New Issue
Block a user