1 /****************************************************************************************/
\r
4 /* Author: John Pollard */
\r
5 /* Description: Handy functions that deal with GFX_Plane's */
\r
7 /* The contents of this file are subject to the Genesis3D Public License */
\r
8 /* Version 1.01 (the "License"); you may not use this file except in */
\r
9 /* compliance with the License. You may obtain a copy of the License at */
\r
10 /* http://www.genesis3d.com */
\r
12 /* Software distributed under the License is distributed on an "AS IS" */
\r
13 /* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See */
\r
14 /* the License for the specific language governing rights and limitations */
\r
15 /* under the License. */
\r
17 /* The Original Code is Genesis3D, released March 25, 1999. */
\r
18 /* Genesis3D Version 1.1 released November 15, 1999 */
\r
19 /* Copyright (C) 1999 WildTangent, Inc. All Rights Reserved */
\r
21 /****************************************************************************************/
\r
26 #include <Windows.h>
\r
28 #include "GBSPFile.h"
\r
34 //=====================================================================================
\r
35 // Defines / Structure defines
\r
36 //=====================================================================================
\r
38 //=====================================================================================
\r
39 // Function ProtoTypes
\r
40 //=====================================================================================
\r
41 geBoolean GENESISCC Plane_SetEngine(geEngine *Engine);
\r
42 geBoolean GENESISCC Plane_SetWorld(geWorld *World);
\r
43 geBoolean GENESISCC Plane_SetGBSP(World_BSP *BSP);
\r
45 int32 GENESISCC Plane_FindLeaf(const geWorld *World, int32 Node, const geVec3d *POV);
\r
47 geFloat GENESISCC Plane_PlaneDistanceFast(const GFX_Plane *Plane, const geVec3d *Point);
\r
48 geFloat GENESISCC Plane_FaceDistanceFast(const GFX_Face *Face, const geVec3d *Point);
\r
49 geFloat GENESISCC Plane_PlaneDistance(const GFX_Plane *Plane, const geVec3d *Point);
\r
50 void gePlane_SetFromVerts(GFX_Plane *Plane, const geVec3d *V1, const geVec3d *V2, const geVec3d *V3);
\r