UFO: Alien Invasion
|
#include <map.h>
Data Fields | |
vec3_t | normal |
vec_t | dist |
int | type |
vec3_t | planeVector [3] |
struct plane_s * | hash_chain |
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::normal |
unit (magnitude == 1) normal defining the direction of the plane
Definition at line 99 of file map.h.
Referenced by AddBrushBevels(), AdjustBrushesForOrigin(), BaseWindingForNode(), BrushMostlyOnSide(), BrushVolume(), Check_EdgePlaneIntersection(), Check_MapBrushVolume(), Check_PointPlaneDistance(), Check_SidePointsDown(), CreateBrushWindings(), CreateNewFloatPlane(), DoesPlaneSplitBrush(), EmitPlanes(), FaceFromPortal(), FacingAndCoincidentTo(), FindPortalSide(), MakeBrushWindings(), MakeHeadnodePortals(), MakeNodePortal(), MergeNodeFaces(), ParallelAndCoincidentTo(), PlaneEqual(), SplitBrush(), SplitNodePortals(), TestBrushToPlanenum(), and TextureAxisFromPlane().
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().