Khaotic Engine Reborn
Loading...
Searching...
No Matches
frustumclass.h
1#ifndef _FRUSTUMCLASS_H_
2#define _FRUSTUMCLASS_H_
3
4
6// INCLUDES //
8#include <directxmath.h>
9using namespace DirectX;
10
11
13// Class name: FrustumClass
16{
17public:
21
22 void ConstructFrustum(XMMATRIX, XMMATRIX, float);
23
24 bool CheckPoint(float, float, float);
25 bool CheckCube(float, float, float, float);
26 bool CheckSphere(float, float, float, float);
27 bool CheckRectangle(float, float, float, float, float, float);
28
29private:
30 XMFLOAT4 m_planes[6];
31};
32
33#endif