UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
plane_s Struct Reference

#include <map.h>

Data Fields

vec3_t normal
 
vec_t dist
 
int type
 
vec3_t planeVector [3]
 
struct plane_shash_chain
 

Detailed Description

See also
mapplanes

Definition at line 98 of file map.h.

Field Documentation

vec_t plane_s::dist

distance from the origin to the plane. unit normal and distance description is http://mathworld.wolfram.com/HessianNormalForm.html though the sign of the distance seems to differ from the standard definition. (or the direction of the normal differs, the effect is the same when calculating the distance of a point from the plane.)

Definition at line 100 of file map.h.

Referenced by AddPlaneToHash(), AdjustBrushesForOrigin(), BaseWindingForNode(), BrushMostlyOnSide(), BrushVolume(), Check_MapBrushVolume(), Check_PointPlaneDistance(), CreateBrushWindings(), CreateNewFloatPlane(), DoesPlaneSplitBrush(), EmitPlanes(), MakeBrushWindings(), MakeHeadnodePortals(), MakeNodePortal(), PlaneEqual(), SplitBrush(), SplitNodePortals(), and TestBrushToPlanenum().

struct plane_s* plane_s::hash_chain

Definition at line 107 of file map.h.

Referenced by AddPlaneToHash(), and FindOrCreateFloatPlane().

vec3_t plane_s::planeVector[3]

3 points on the plane, from the map file

Definition at line 106 of file map.h.

Referenced by Check_EdgePlaneIntersection(), FacingAndCoincidentTo(), ParallelAndCoincidentTo(), and WriteMapBrush().

int plane_s::type

Definition at line 105 of file map.h.

Referenced by CreateNewFloatPlane(), EmitPlanes(), and TestBrushToPlanenum().


The documentation for this struct was generated from the following file: