Go to the documentation of this file.
14 typedef typename VEC3::elem_t
T;
18 plane(
const VEC3& a_p0,
const VEC3& a_p1,
const VEC3& a_p2) {
35 plane(
const VEC3& a_normal,
const T& a_distance){
36 set(a_normal,a_distance);
39 plane(
const VEC3& a_normal,
const VEC3& a_point){
40 set(a_normal,a_point);
69 if(d==
T())
return false;
72 a_intersection.multiply(t);
73 a_intersection.add(pos);
85 return (
m_normal.dot(pos) >=
T() ?
true :
false);
98 void set(
const VEC3& a_normal,
const T& a_distance){
104 void set(
const VEC3& a_normal,
const VEC3& a_point){