mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Add NodeLODController
This commit is contained in:
@@ -22,7 +22,7 @@ struct MeshRenderer
|
||||
struct SpotLight{};
|
||||
|
||||
/// <summary>
|
||||
/// Component containing data for LOD controller
|
||||
/// Component for entities that can be rendered with LOD
|
||||
/// </summary>
|
||||
struct LODController
|
||||
{
|
||||
@@ -30,5 +30,17 @@ struct LODController
|
||||
double RangeMax;
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Component for entities that can be rendered with LOD
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Has higher priority as it's for node objects
|
||||
/// </remarks>
|
||||
struct NodeLODController
|
||||
{
|
||||
double RangeMin;
|
||||
double RangeMax;
|
||||
};
|
||||
|
||||
} // namespace ECSComponent
|
||||
#endif // EU07_RENDERCOMPONENTS_H
|
||||
|
||||
Reference in New Issue
Block a user