Khaotic Engine Reborn
Loading...
Searching...
No Matches
frustum.h
1#include <DirectXMath.h>
2using namespace DirectX;
3
4class frustum
5{
6public:
7 void ConstructFrustum(float screenDepth, XMMATRIX projectionMatrix, XMMATRIX viewMatrix);
8 bool CheckCube(float xCenter, float yCenter, float zCenter, float radius, float tolerance);
9
10private:
11 XMVECTOR m_planes[6];
12};