mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
remove test code
This commit is contained in:
parent
94fe5eeb5b
commit
30ac1a58ee
2 changed files with 4 additions and 22 deletions
|
|
@ -9,7 +9,7 @@ public:
|
|||
Frustum() {};
|
||||
|
||||
void update(glm::mat4 projview);
|
||||
bool IsBoxVisible(const glm::vec3& minp, const glm::vec3& maxp) const;
|
||||
bool isBoxVisible(const glm::vec3& minp, const glm::vec3& maxp) const;
|
||||
|
||||
private:
|
||||
enum Planes
|
||||
|
|
@ -76,8 +76,7 @@ inline void Frustum::update(glm::mat4 m)
|
|||
|
||||
}
|
||||
|
||||
inline bool Frustum::IsBoxVisible(const glm::vec3& minp, const glm::vec3& maxp) const
|
||||
{
|
||||
inline bool Frustum::isBoxVisible(const glm::vec3& minp, const glm::vec3& maxp) const {
|
||||
// check box outside/inside of frustum
|
||||
for (int i = 0; i < Count; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue