|
Nebula
|
#include <plane.h>
A mathematical plane represented by a normal and a distance from origin.
Classes | |
| union | [union].__unnamed0__ |
Public Member Functions | |
| plane ()=default | |
| default constructor, NOTE: does NOT setup components! | |
| plane (scalar a, scalar b, scalar c, scalar d) | |
| construct from values | |
| plane (const point &p, const vector &n) | |
| setup from point and normal | |
| plane (const point &p0, const point &p1, const point &p2) | |
| setup from points | |
| plane (const __m128 &rhs) | |
| construct from SSE 128 byte float array | |
| bool | intersect (line const &line, point &outIntersectPoint) |
| check intersection against line | |
| vector | get_normal () const |
| get normal from plane | |
| void | set (scalar a, scalar b, scalar c, scalar d) |
| set content | |
Public Attributes | |
| union | |
|
default |
default constructor, NOTE: does NOT setup components!
setup from points
| __forceinline Math::plane::plane | ( | const __m128 & | rhs | ) |
construct from SSE 128 byte float array
| __forceinline vector Math::plane::get_normal | ( | ) | const |
get normal from plane
check intersection against line