Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
Line Class Reference
Inheritance diagram for Line:
[legend]
Collaboration diagram for Line:
[legend]

Public Member Functions

 Line (const glm::vec3 &a, const glm::vec3 &b)
 
const glm::vec3 & a () const
 
void setA (const glm::vec3 &a)
 
const glm::vec3 & b () const
 
void setB (const glm::vec3 &b)
 
virtual bool intersects (const Sphere &sphere) const override
 
virtual bool nearTo (const TAABB< int > &aabb) const override
 
virtual bool containedBy (const TAABB< int > &aabb) const override
 

Protected Attributes

glm::vec3 m_a
 
glm::vec3 m_b
 

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