|
glVertex
5.5.2
|
#include "glvertex.h"Go to the source code of this file.
Functions | |
| void | lglSlice (const vec3 &v0, const vec3 &v1, const vec3 &v2, const vec3 &v3, const vec3 &o, const vec3 &n) |
| extract a slice from a tetrahedron More... | |
LGL tetrahedron slicer
|
inline |
extract a slice from a tetrahedron
| v0 | is the first of four corners of a tetrahedron |
| v1 | is the second of four corners of a tetrahedron |
| v2 | is the third of four corners of a tetrahedron |
| v3 | is the fourth of four corners of a tetrahedron |
| o | is a point on the slicing plane |
| n | is the normal of the slicing plane |
1.8.17