metaforce/Runtime/Graphics/CFrustumPlanes.hpp

25 lines
612 B
C++
Raw Normal View History

2016-04-14 21:42:47 +00:00
#ifndef __URDE_CFRUSTUMPLANES_HPP__
#define __URDE_CFRUSTUMPLANES_HPP__
#include "zeus/CTransform.hpp"
#include "zeus/CAABox.hpp"
2016-04-29 10:08:46 +00:00
#include "rstl.hpp"
2016-04-14 21:42:47 +00:00
namespace urde
{
class CFrustumPlanes
{
public:
CFrustumPlanes(const zeus::CTransform& cameraXf, float, float, float, bool, float);
bool PointInFrustumPlanes(const zeus::CVector3f& point) const;
bool SphereInFrustumPlanes(const zeus::CSphere& sphere) const;
bool BoxInFrustumPlanes(const zeus::CAABox& box) const;
2016-04-29 10:08:46 +00:00
bool BoxInFrustumPlanes(const rstl::optional_object<zeus::CAABox>& box) const;
2016-04-14 21:42:47 +00:00
};
}
#endif // __URDE_CFRUSTUMPLANES_HPP__