mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 14:53:30 +01:00
Cull and assign LOD to instances in a compute pass
This commit is contained in:
@@ -67,6 +67,10 @@ public:
|
||||
cube_inside( float3 const &Center, float const Size ) const { return cube_inside( Center.x, Center.y, Center.z, Size ); }
|
||||
bool
|
||||
cube_inside( float const X, float const Y, float const Z, float const Size ) const;
|
||||
// A, B, C and D of the planes, in world coordinates
|
||||
inline
|
||||
auto const &
|
||||
planes() const { return m_frustum; }
|
||||
|
||||
private:
|
||||
// types:
|
||||
|
||||
Reference in New Issue
Block a user