UFO: Alien Invasion
Loading...
Searching...
No Matches
plane_t Struct Reference

#include <map.h>

Collaboration diagram for plane_t:
Collaboration graph

Data Fields

vec3_t normal
vec_t dist
int type
vec3_t planeVector [3]
struct plane_s * hash_chain

Detailed Description

See also
mapplanes

Definition at line 98 of file map.h.

Field Documentation

◆ dist

vec_t plane_t::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(), BaseWindingForNode(), BrushMostlyOnSide(), BrushVolume(), Check_MapBrushVolume(), Check_PointPlaneDistance(), CreateBrushWindings(), CreateNewFloatPlane(), DoesPlaneSplitBrush(), EmitPlanes(), MakeBrushWindings(), MakeHeadnodePortals(), MakeNodePortal(), PlaneEqual(), SplitBrush(), SplitNodePortals(), and TestBrushToPlanenum().

◆ hash_chain

struct plane_s* plane_t::hash_chain

Definition at line 107 of file map.h.

Referenced by AddPlaneToHash(), and FindOrCreateFloatPlane().

◆ normal

◆ planeVector

vec3_t plane_t::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().

◆ type

int plane_t::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:
  • src/tools/ufo2map/map.h