Major update - Architecture Rework
This commit is contained in:
12
enginecustom/src/inc/system/frustum.h
Normal file
12
enginecustom/src/inc/system/frustum.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <DirectXMath.h>
|
||||
using namespace DirectX;
|
||||
|
||||
class Frustum
|
||||
{
|
||||
public:
|
||||
void ConstructFrustum(float screenDepth, XMMATRIX projectionMatrix, XMMATRIX viewMatrix);
|
||||
bool CheckCube(float xCenter, float yCenter, float zCenter, float radius, float tolerance);
|
||||
|
||||
private:
|
||||
XMVECTOR m_planes[6];
|
||||
};
|
Reference in New Issue
Block a user