载入中...
搜索中...
未找到
SceneBounds.h 文件参考
#include "scene/SceneHost.h"
#include <glm/glm.hpp>
#include <algorithm>
#include <cmath>
#include <limits>

浏览源代码.

struct  eve::scene::AABB3f
 Axis-aligned box in world space. 更多...
 

命名空间

namespace  eve
 
namespace  eve::scene
 

函数

AABB3f eve::scene::worldBoundsOf (const SceneNode &n)
 World-space AABB of a node's local bounds (8 corners through world matrix).
 
bool eve::scene::rayAABB (const glm::vec3 &o, const glm::vec3 &d, const AABB3f &b, float &t0, float &t1)
 Slab ray-AABB intersection; fills entry/exit t (t0 <= t1).
 
bool eve::scene::cornerInsideClip (const glm::mat4 &m, const glm::vec3 &p)
 
bool eve::scene::aabbIntersectsFrustum (const glm::mat4 &clip, const glm::mat4 &invClip, const AABB3f &b)
 Conservative AABB ↔ frustum overlap (AABB corners + frustum corners).