Returns true if the point is inside the min,max
| 1063 | |
| 1064 | // Returns true if the point is inside the min,max |
| 1065 | static inline int BSPInMinMax(vector *pos, vector *min_xyz, vector *max_xyz) { |
| 1066 | if (pos->x < min_xyz->x || pos->y < min_xyz->y || pos->z < min_xyz->z || pos->x > max_xyz->x || pos->y > max_xyz->y || |
| 1067 | pos->z > max_xyz->z) |
| 1068 | return 0; |
| 1069 | |
| 1070 | return 1; |
| 1071 | } |
| 1072 | // see if a point in inside a face by projecting into 2d |
| 1073 | extern uint32_t check_point_to_face(vector *colp, vector *face_normal, int nv, vector **vertex_ptr_list); |
| 1074 |