#include <celmath/mathlib.h>#include <celmath/vecmath.h>Include dependency graph for plane.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef Plane< double > | Planed |
| typedef Plane< float > | Planef |
Functions | |
| template<class T> | |
| Plane< T > | operator * (const Plane< T > &p, const Matrix4< T > &m) |
| template<class T> | |
| Plane< T > | operator * (const Matrix4< T > &m, const Plane< T > &p) |
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 72 of file plane.h. References Vector4< T >::w, Vector4< T >::x, Vector4< T >::y, and Vector4< T >::z. 00073 {
00074 Vector4<T> v = Vector4<T>(p.normal.x, p.normal.y, p.normal.z, p.d) * m;
00075 return Plane<T>(Vector3<T>(v.x, v.y, v.z), v.w);
00076 }
|
|
||||||||||||||||
|
Definition at line 66 of file plane.h. References Vector4< T >::w, Vector4< T >::x, Vector4< T >::y, and Vector4< T >::z. 00067 {
00068 Vector4<T> v = m * Vector4<T>(p.normal.x, p.normal.y, p.normal.z, p.d);
00069 return Plane<T>(Vector3<T>(v.x, v.y, v.z), v.w);
00070 }
|
1.4.1