Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
GeometryHelper Class Reference

Static Public Member Functions

static bool intersectRectangle (const Ray *ray, const glm::vec3 &p, const glm::vec3 &q, const glm::vec3 &r, const glm::vec3 &s)
 
static bool intersectRectangle (const Ray *ray, const glm::vec3 &p, const glm::vec3 &q, const glm::vec3 &r, const glm::vec3 &s, glm::vec3 &intersection)
 
static glm::vec3 plane (const glm::vec3 &p, const glm::vec3 &q, const glm::vec3 &r)
 
static float angleBetween (const glm::vec3 &u, const glm::vec3 &v)
 
static float angleBetweenVectorPlane (const glm::vec3 &u, const glm::vec3 &v)
 
static glm::quat quatFromTo (const glm::vec3 &u, const glm::vec3 &v)
 
static glm::quat quatFromViewDirection (const glm::vec3 &dir)
 
static WorldObjectclosestObject (WorldObject &self, std::unordered_set< WorldObject * > *objects)
 
template<typename T >
static T safeNormalize (const T &value)
 

The documentation for this class was generated from the following files: