30#ifndef INCLUDED_OOMATHS_h
31 #error Do not include OOVoxel.h directly; include OOMaths.h.
35#define CUBE_FACE_RIGHT 0x01
36#define CUBE_FACE_LEFT 0x02
37#define CUBE_FACE_TOP 0x04
38#define CUBE_FACE_BOTTOM 0x08
39#define CUBE_FACE_FRONT 0x10
40#define CUBE_FACE_BACK 0x20
Vector lineIntersectionWithFace(Vector p1, Vector p2, long mask, GLfloat rd)
int lineCubeIntersection(Vector v0, Vector v1, GLfloat rd)