|
Nebula
|
#include "math/point.h"#include "math/vector.h"#include "math/line.h"#include "math/mat4.h"#include "scalar.h"#include "clipstatus.h"Go to the source code of this file.
Classes | |
| class | Math::plane |
| A mathematical plane represented by a normal and a distance from origin. More... | |
Namespaces | |
| namespace | Math |
| Different curves. | |
Functions | |
| vector | Math::get_normal (const plane &plane) |
| point | Math::get_point (const plane &plane) |
| bool | Math::intersectline (const plane &plane, const point &startPoint, const point &endPoint, point &outIntersectPoint) |
| bool | Math::intersectplane (const plane &p1, const plane &p2, line &outLine) |
| TODO: Test and make sure it produces correct intersection line. | |
| ClipStatus::Type | Math::clip (const plane &plane, const line &l, line &outClippedLine) |
| __forceinline scalar | Math::dot (const plane &p, const vec4 &v1) |
| __forceinline plane | Math::normalize (const plane &p) |
| __forceinline plane | Math::operator* (const mat4 &m, const plane &p) |