|
Oolite
|
import "OOMaths.h"Go to the source code of this file.
Functions | |
| int | checkFace (Vector p, GLfloat rd) |
| int | checkBevel (Vector p, GLfloat rd) |
| int | checkCorner (Vector p, GLfloat rd) |
| Vector | lineIntersectionWithFace (Vector p1, Vector p2, long mask, GLfloat rd) |
| int | checkPoint (Vector p1, Vector p2, GLfloat alpha, long mask, GLfloat rd) |
| int | checkLine (Vector p1, Vector p2, int mask, GLfloat rd) |
| int | lineCubeIntersection (Vector v0, Vector v1, GLfloat rd) |
Definition at line 47 of file OOVoxel.m.
References Vector::x, Vector::y, and Vector::z.
Referenced by lineCubeIntersection().
Definition at line 78 of file OOVoxel.m.
References Vector::x, Vector::y, and Vector::z.
Referenced by lineCubeIntersection().
Definition at line 29 of file OOVoxel.m.
References CUBE_FACE_BACK, CUBE_FACE_BOTTOM, CUBE_FACE_FRONT, CUBE_FACE_LEFT, CUBE_FACE_RIGHT, CUBE_FACE_TOP, Vector::x, Vector::y, and Vector::z.
Referenced by checkPoint(), and lineCubeIntersection().
Definition at line 144 of file OOVoxel.m.
References checkPoint(), CUBE_FACE_BACK, CUBE_FACE_BOTTOM, CUBE_FACE_FRONT, CUBE_FACE_LEFT, CUBE_FACE_RIGHT, CUBE_FACE_TOP, Vector::x, Vector::y, and Vector::z.
Referenced by lineCubeIntersection().
Definition at line 135 of file OOVoxel.m.
References checkFace(), Vector::x, Vector::y, and Vector::z.
Referenced by checkLine().
Definition at line 164 of file OOVoxel.m.
References checkBevel(), checkCorner(), checkFace(), and checkLine().
Referenced by Octree::isHitByLine.
Definition at line 101 of file OOVoxel.m.
References CUBE_FACE_BACK, CUBE_FACE_BOTTOM, CUBE_FACE_FRONT, CUBE_FACE_LEFT, CUBE_FACE_RIGHT, CUBE_FACE_TOP, make_vector(), Vector::x, Vector::y, and Vector::z.
Referenced by Octree::isHitByLine.