Khaotic Engine Reborn
Loading...
Searching...
No Matches
frustum.h
1#include <DirectXMath.h>
2using namespace DirectX;
3
4class frustum
5{
6public:
13 void ConstructFrustum(float screenDepth, XMMATRIX projectionMatrix, XMMATRIX viewMatrix);
21 bool CheckCube(float xCenter, float yCenter, float zCenter, float radius, float tolerance);
22
23private:
24 XMVECTOR m_planes[6];
25};
void ConstructFrustum(float screenDepth, XMMATRIX projectionMatrix, XMMATRIX viewMatrix)
Definition frustum.cpp:3
bool CheckCube(float xCenter, float yCenter, float zCenter, float radius, float tolerance)
Definition frustum.cpp:59