mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 22:09:19 +02:00
Add NodeLODController
This commit is contained in:
@@ -22,7 +22,7 @@ struct MeshRenderer
|
|||||||
struct SpotLight{};
|
struct SpotLight{};
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Component containing data for LOD controller
|
/// Component for entities that can be rendered with LOD
|
||||||
/// </summary>
|
/// </summary>
|
||||||
struct LODController
|
struct LODController
|
||||||
{
|
{
|
||||||
@@ -30,5 +30,17 @@ struct LODController
|
|||||||
double RangeMax;
|
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
|
} // namespace ECSComponent
|
||||||
#endif // EU07_RENDERCOMPONENTS_H
|
#endif // EU07_RENDERCOMPONENTS_H
|
||||||
|
|||||||
Reference in New Issue
Block a user