1#ifndef _VIEW_FRUSTUM_HPP_
2#define _VIEW_FRUSTUM_HPP_
21 float len = std::sqrt(
a *
a +
b *
b +
c *
c);
23 float inv = 1.0f / len;
80 for (
int i = 0; i <
COUNT; ++i)
88 for (
int i = 0; i <
COUNT; ++i) {
void ExtractFromVP(const Math::Matrix4 &m)
bool IsAABBVisible(const Math::Vector3D &min, const Math::Vector3D &max) const
Matrix< float, 4, 4 > Matrix4
Root namespace for everything the engine exposes.
void Normalize()
Rescales the plane coefficients so (a, b, c) is unit length.
float DistanceToPoint(const Math::Vector3D &p) const