doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
EditorBrush.cpp File Reference
#include "../../idlib/precompiled.h"
#include "qe3.h"
#include <GL/glu.h>
#include "../../renderer/tr_local.h"
#include "../../renderer/model_local.h"

Go to the source code of this file.

Macros

#define MAX_MOVE_FACES   64
 
#define TINY_EPSILON   0.0325f
 

Functions

void Brush_UpdateLightPoints (brush_t *b, const idVec3 &offset)
 
void Brush_DrawCurve (brush_t *b, bool bSelected, bool cam)
 
void GLCircle (float x, float y, float z, float r)
 
void DrawRenderModel (idRenderModel *model, idVec3 &origin, idMat3 &axis, bool cameraView)
 
void SnapVectorToGrid (idVec3 &v)
 
const char * Brush_Name (brush_t *b)
 
brush_t * Brush_Alloc (void)
 
void TextureAxisFromPlane (const idPlane &pln, idVec3 &xv, idVec3 &yv)
 
float ShadeForNormal (idVec3 normal)
 
face_t * Face_Alloc (void)
 
void Face_Free (face_t *f)
 
face_t * Face_Clone (face_t *f)
 
face_t * Face_FullClone (face_t *f)
 
void Clamp (float &f, int nClamp)
 
void Face_MoveTexture (face_t *f, idVec3 delta)
 
void Face_SetColor (brush_t *b, face_t *f, float fCurveColor)
 
void Face_TextureVectors (face_t *f, float STfromXYZ[2][4])
 
void Face_MakePlane (face_t *f)
 
void EmitTextureCoordinates (idVec5 &xyzst, const idMaterial *q, face_t *f, bool force)
 
void Brush_MakeFacePlanes (brush_t *b)
 
void DrawBrushEntityName (brush_t *b)
 
idWindingBrush_MakeFaceWinding (brush_t *b, face_t *face, bool keepOnPlaneWinding)
 
void Brush_Build (brush_t *b, bool bSnap, bool bMarkMap, bool bConvert, bool updateLights)
 
void Brush_SplitBrushByFace (brush_t *in, face_t *f, brush_t **front, brush_t **back)
 
face_t * Brush_BestSplitFace (brush_t *b)
 
brush_t * Brush_MakeConvexBrushes (brush_t *b)
 
int Brush_Convex (brush_t *b)
 
int Brush_MoveVertex (brush_t *b, const idVec3 &vertex, const idVec3 &delta, idVec3 &end, bool bSnap)
 
int Brush_InsertVertexBetween (brush_t *b, idVec3 p1, idVec3 p2)
 
void Brush_ResetFaceOriginals (brush_t *b)
 
brush_t * Brush_Parse (idVec3 origin)
 
void WINAPI QERApp_MapPrintf_FILE (char *text,...)
 
void Brush_SetEpair (brush_t *b, const char *pKey, const char *pValue)
 
const char * Brush_GetKeyValue (brush_t *b, const char *pKey)
 
void Brush_Write (brush_t *b, FILE *f, const idVec3 &origin, bool newFormat)
 
void WINAPI QERApp_MapPrintf_MEMFILE (char *text,...)
 
void Brush_Write (brush_t *b, CMemFile *pMemFile, const idVec3 &origin, bool newFormat)
 
brush_t * Brush_Create (idVec3 mins, idVec3 maxs, texdef_t *texdef)
 
void Brush_Scale (brush_t *b)
 
brush_t * Brush_CreatePyramid (idVec3 mins, idVec3 maxs, texdef_t *texdef)
 
void Brush_MakeSided (int sides)
 
void Brush_Free (brush_t *b, bool bRemoveNode)
 
int Face_MemorySize (face_t *f)
 
int Brush_MemorySize (brush_t *b)
 
brush_t * Brush_Clone (brush_t *b)
 
brush_t * Brush_FullClone (brush_t *b)
 
bool GetMatrixForKey (entity_t *ent, const char *key, idMat3 &mat)
 
bool Patch_Intersect (patchMesh_t *pm, idVec3 origin, idVec3 direction, float &scale)
 
bool RayIntersectsTri (const idVec3 &origin, const idVec3 &direction, const idVec3 &vert0, const idVec3 &vert1, const idVec3 &vert2, float &scale)
 
void RotateVector (idVec3 &v, idVec3 origin, float a, float c, float s)
 
bool Brush_ModelIntersect (brush_t *b, idVec3 origin, idVec3 dir, float &scale)
 
face_t * Brush_Ray (idVec3 origin, idVec3 dir, brush_t *b, float *dist, bool testPrimitive)
 
face_t * Brush_Point (idVec3 origin, brush_t *b)
 
void Brush_AddToList (brush_t *b, brush_t *list)
 
void Brush_RemoveFromList (brush_t *b)
 
void SetFaceTexdef (brush_t *b, face_t *f, texdef_t *texdef, brushprimit_texdef_t *brushprimit_texdef, bool bFitScale)
 
void Brush_SetTexture (brush_t *b, texdef_t *texdef, brushprimit_texdef_t *brushprimit_texdef, bool bFitScale)
 
void Brush_SetTextureName (brush_t *b, const char *name)
 
bool ClipLineToFace (idVec3 &p1, idVec3 &p2, face_t *f)
 
int AddPlanept (idVec3 *f)
 
void AddMovePlane (idPlane *p)
 
void Brush_SelectFaceForDragging (brush_t *b, face_t *f, bool shear)
 
void Brush_SideSelect (brush_t *b, idVec3 origin, idVec3 dir, bool shear)
 
void UpdateSelectablePoint (brush_t *b, idVec3 v, int type)
 
void AddSelectablePoint (brush_t *b, idVec3 v, int type, bool priority)
 
void ClearSelectablePoints (brush_t *b)
 
void VectorSnapGrid (idVec3 &v)
 
idMat3 Brush_RotationMatrix (brush_t *b)
 
idVec3 Brush_TransformedPoint (brush_t *b, const idVec3 &in)
 
void Brush_BuildWindings (brush_t *b, bool bSnap, bool keepOnPlaneWinding, bool updateLights, bool makeFacePlanes)
 
void Brush_RemoveEmptyFaces (brush_t *b)
 
void Brush_SnapToGrid (brush_t *pb)
 
void Brush_Rotate (brush_t *b, idMat3 matrix, idVec3 origin, bool bBuild)
 
void VectorRotate3Origin (const idVec3 &vIn, const idVec3 &vRotation, const idVec3 &vOrigin, idVec3 &out)
 
void Brush_Rotate (brush_t *b, idVec3 vAngle, idVec3 vOrigin, bool bBuild)
 
void Brush_Center (brush_t *b, idVec3 vNewCenter)
 
void Brush_Resize (brush_t *b, idVec3 vMin, idVec3 vMax)
 
eclass_t * HasModel (brush_t *b)
 
bool Entity_GetRotationMatrixAngles (entity_t *e, idMat3 &mat, idAngles &angles)
 
void Brush_DrawFacingAngle (brush_t *b, entity_t *e, bool particle)
 
void DrawProjectedLight (brush_t *b, bool bSelected, bool texture)
 
void DrawSpeaker (brush_t *b, bool bSelected, bool twoD)
 
void DrawLight (brush_t *b, bool bSelected)
 
void Control_Draw (brush_t *b)
 
void Brush_DrawModel (brush_t *b, bool camera, bool bSelected)
 
void GLTransformedVertex (float x, float y, float z, idMat3 mat, idVec3 origin, idVec3 color, float maxDist)
 
void GLTransformedCircle (int type, idVec3 origin, float r, idMat3 mat, float pointSize, idVec3 color, float maxDist)
 
void Brush_DrawAxis (brush_t *b)
 
void Brush_DrawModelInfo (brush_t *b, bool selected)
 
void Brush_DrawEmitter (brush_t *b, bool bSelected, bool cam)
 
void Brush_DrawEnv (brush_t *b, bool cameraView, bool bSelected)
 
void Brush_DrawCombatNode (brush_t *b, bool cameraView, bool bSelected)
 
void Brush_Draw (brush_t *b, bool bSelected)
 
void Face_Draw (face_t *f)
 
idSurface_SweptSplineSplineToSweptSpline (idCurve< idVec3 > *curve)
 
void Brush_DrawXY (brush_t *b, int nViewType, bool bSelected, bool ignoreViewType)
 
bool Sys_KeyDown (int key)
 
void Brush_Move (brush_t *b, const idVec3 move, bool bSnap, bool updateOrigin)
 
void Select_AddProjectedLight ()
 
void Brush_Print (brush_t *b)
 
void Brush_MakeSidedCone (int sides)
 
void Brush_MakeSidedSphere (int sides)
 
void Face_FitTexture_BrushPrimit (face_t *f, idVec3 mins, idVec3 maxs, float nHeight, float nWidth)
 
void Face_FitTexture (face_t *face, float nHeight, float nWidth)
 
void Brush_FitTexture (brush_t *b, float nHeight, float nWidth)
 
void Brush_GetBounds (brush_t *b, idBounds &bo)
 

Variables

int g_nBrushId = 0
 
bool g_bShowLightVolumes = false
 
bool g_bShowLightTextures = false
 
const int POINTS_PER_KNOT = 50
 
idVec3 baseaxis [18]
 
float lightaxis [3] = { 0.6f, 0.8f, 1.0f }
 
FILE * g_File
 
CMemFile * g_pMemFile
 

Macro Definition Documentation

#define MAX_MOVE_FACES   64

Definition at line 976 of file EditorBrush.cpp.

#define TINY_EPSILON   0.0325f

Definition at line 977 of file EditorBrush.cpp.

Function Documentation

void AddMovePlane ( idPlane p)

Definition at line 2865 of file EditorBrush.cpp.

int AddPlanept ( idVec3 f)

Definition at line 2841 of file EditorBrush.cpp.

void AddSelectablePoint ( brush_t *  b,
idVec3  v,
int  type,
bool  priority 
)

Definition at line 230 of file XYWnd.cpp.

void Brush_AddToList ( brush_t *  b,
brush_t *  list 
)

Definition at line 2674 of file EditorBrush.cpp.

brush_t* Brush_Alloc ( void  )

Definition at line 117 of file EditorBrush.cpp.

face_t* Brush_BestSplitFace ( brush_t *  b)

Definition at line 841 of file EditorBrush.cpp.

void Brush_Build ( brush_t *  b,
bool  bSnap,
bool  bMarkMap,
bool  bConvert,
bool  updateLights 
)

Definition at line 743 of file EditorBrush.cpp.

void Brush_BuildWindings ( brush_t *  b,
bool  bSnap,
bool  keepOnPlaneWinding,
bool  updateLights,
bool  makeFacePlanes 
)

Definition at line 3179 of file EditorBrush.cpp.

void Brush_Center ( brush_t *  b,
idVec3  vNewCenter 
)

Definition at line 3412 of file EditorBrush.cpp.

brush_t* Brush_Clone ( brush_t *  b)

Definition at line 2353 of file EditorBrush.cpp.

int Brush_Convex ( brush_t *  b)

Definition at line 939 of file EditorBrush.cpp.

brush_t* Brush_Create ( idVec3  mins,
idVec3  maxs,
texdef_t *  texdef 
)

Definition at line 1972 of file EditorBrush.cpp.

brush_t* Brush_CreatePyramid ( idVec3  mins,
idVec3  maxs,
texdef_t *  texdef 
)

Definition at line 2062 of file EditorBrush.cpp.

void Brush_Draw ( brush_t *  b,
bool  bSelected 
)

Definition at line 4393 of file EditorBrush.cpp.

void Brush_DrawAxis ( brush_t *  b)

Definition at line 4148 of file EditorBrush.cpp.

void Brush_DrawCombatNode ( brush_t *  b,
bool  cameraView,
bool  bSelected 
)

Definition at line 4321 of file EditorBrush.cpp.

void Brush_DrawCurve ( brush_t *  b,
bool  bSelected,
bool  cam 
)

Definition at line 4580 of file EditorBrush.cpp.

void Brush_DrawEmitter ( brush_t *  b,
bool  bSelected,
bool  cam 
)

Definition at line 4253 of file EditorBrush.cpp.

void Brush_DrawEnv ( brush_t *  b,
bool  cameraView,
bool  bSelected 
)

Definition at line 4274 of file EditorBrush.cpp.

void Brush_DrawFacingAngle ( brush_t *  b,
entity_t e,
bool  particle 
)

Definition at line 3556 of file EditorBrush.cpp.

void Brush_DrawModel ( brush_t *  b,
bool  camera,
bool  bSelected 
)

Definition at line 3945 of file EditorBrush.cpp.

void Brush_DrawModelInfo ( brush_t *  b,
bool  selected 
)

Definition at line 4227 of file EditorBrush.cpp.

void Brush_DrawXY ( brush_t *  b,
int  nViewType,
bool  bSelected,
bool  ignoreViewType 
)

Definition at line 4670 of file EditorBrush.cpp.

void Brush_FitTexture ( brush_t *  b,
float  nHeight,
float  nWidth 
)

Definition at line 5197 of file EditorBrush.cpp.

void Brush_Free ( brush_t *  b,
bool  bRemoveNode 
)

Definition at line 2278 of file EditorBrush.cpp.

brush_t* Brush_FullClone ( brush_t *  b)

Definition at line 2398 of file EditorBrush.cpp.

void Brush_GetBounds ( brush_t *  b,
idBounds bo 
)

Definition at line 5204 of file EditorBrush.cpp.

const char* Brush_GetKeyValue ( brush_t *  b,
const char *  pKey 
)

Definition at line 1601 of file EditorBrush.cpp.

int Brush_InsertVertexBetween ( brush_t *  b,
idVec3  p1,
idVec3  p2 
)

Definition at line 1317 of file EditorBrush.cpp.

brush_t* Brush_MakeConvexBrushes ( brush_t *  b)

Definition at line 901 of file EditorBrush.cpp.

void Brush_MakeFacePlanes ( brush_t *  b)

Definition at line 574 of file EditorBrush.cpp.

idWinding* Brush_MakeFaceWinding ( brush_t *  b,
face_t *  face,
bool  keepOnPlaneWinding 
)

Definition at line 686 of file EditorBrush.cpp.

void Brush_MakeSided ( int  sides)

Definition at line 2137 of file EditorBrush.cpp.

void Brush_MakeSidedCone ( int  sides)

Definition at line 4986 of file EditorBrush.cpp.

void Brush_MakeSidedSphere ( int  sides)

Definition at line 5080 of file EditorBrush.cpp.

int Brush_MemorySize ( brush_t *  b)

Definition at line 2331 of file EditorBrush.cpp.

bool Brush_ModelIntersect ( brush_t *  b,
idVec3  origin,
idVec3  dir,
float scale 
)

Definition at line 2505 of file EditorBrush.cpp.

void Brush_Move ( brush_t *  b,
const idVec3  move,
bool  bSnap,
bool  updateOrigin 
)

Definition at line 4846 of file EditorBrush.cpp.

int Brush_MoveVertex ( brush_t *  b,
const idVec3 vertex,
const idVec3 delta,
idVec3 end,
bool  bSnap 
)

Definition at line 979 of file EditorBrush.cpp.

const char* Brush_Name ( brush_t *  b)

Definition at line 100 of file EditorBrush.cpp.

brush_t* Brush_Parse ( idVec3  origin)

Definition at line 1390 of file EditorBrush.cpp.

face_t* Brush_Point ( idVec3  origin,
brush_t *  b 
)

Definition at line 2655 of file EditorBrush.cpp.

void Brush_Print ( brush_t *  b)

Definition at line 4969 of file EditorBrush.cpp.

face_t* Brush_Ray ( idVec3  origin,
idVec3  dir,
brush_t *  b,
float dist,
bool  testPrimitive 
)

Definition at line 2589 of file EditorBrush.cpp.

void Brush_RemoveEmptyFaces ( brush_t *  b)

Definition at line 3275 of file EditorBrush.cpp.

void Brush_RemoveFromList ( brush_t *  b)

Definition at line 2698 of file EditorBrush.cpp.

void Brush_ResetFaceOriginals ( brush_t *  b)

Definition at line 1373 of file EditorBrush.cpp.

void Brush_Resize ( brush_t *  b,
idVec3  vMin,
idVec3  vMax 
)

Definition at line 3432 of file EditorBrush.cpp.

void Brush_Rotate ( brush_t *  b,
idMat3  matrix,
idVec3  origin,
bool  bBuild 
)

Definition at line 3374 of file EditorBrush.cpp.

void Brush_Rotate ( brush_t *  b,
idVec3  vAngle,
idVec3  vOrigin,
bool  bBuild 
)

Definition at line 3395 of file EditorBrush.cpp.

idMat3 Brush_RotationMatrix ( brush_t *  b)

Definition at line 3050 of file EditorBrush.cpp.

void Brush_Scale ( brush_t *  b)

Definition at line 2047 of file EditorBrush.cpp.

void Brush_SelectFaceForDragging ( brush_t *  b,
face_t *  f,
bool  shear 
)

last point on the winding

Definition at line 2888 of file EditorBrush.cpp.

void Brush_SetEpair ( brush_t *  b,
const char *  pKey,
const char *  pValue 
)

Definition at line 1582 of file EditorBrush.cpp.

void Brush_SetTexture ( brush_t *  b,
texdef_t *  texdef,
brushprimit_texdef_t *  brushprimit_texdef,
bool  bFitScale 
)

Definition at line 2769 of file EditorBrush.cpp.

void Brush_SetTextureName ( brush_t *  b,
const char *  name 
)

Definition at line 2787 of file EditorBrush.cpp.

void Brush_SideSelect ( brush_t *  b,
idVec3  origin,
idVec3  dir,
bool  shear 
)

Definition at line 3002 of file EditorBrush.cpp.

void Brush_SnapToGrid ( brush_t *  pb)

Definition at line 3298 of file EditorBrush.cpp.

void Brush_SplitBrushByFace ( brush_t *  in,
face_t *  f,
brush_t **  front,
brush_t **  back 
)

Definition at line 785 of file EditorBrush.cpp.

idVec3 Brush_TransformedPoint ( brush_t *  b,
const idVec3 in 
)

Definition at line 3059 of file EditorBrush.cpp.

void Brush_UpdateLightPoints ( brush_t *  b,
const idVec3 offset 
)

Definition at line 3071 of file EditorBrush.cpp.

void Brush_Write ( brush_t *  b,
FILE *  f,
const idVec3 origin,
bool  newFormat 
)

Definition at line 1624 of file EditorBrush.cpp.

void Brush_Write ( brush_t *  b,
CMemFile *  pMemFile,
const idVec3 origin,
bool  newFormat 
)

Definition at line 1807 of file EditorBrush.cpp.

void Clamp ( float f,
int  nClamp 
)

Definition at line 335 of file EditorBrush.cpp.

void ClearSelectablePoints ( brush_t *  b)

Definition at line 205 of file XYWnd.cpp.

bool ClipLineToFace ( idVec3 p1,
idVec3 p2,
face_t *  f 
)

Definition at line 2804 of file EditorBrush.cpp.

void Control_Draw ( brush_t *  b)

Definition at line 3916 of file EditorBrush.cpp.

void DrawBrushEntityName ( brush_t *  b)

Definition at line 587 of file EditorBrush.cpp.

void DrawLight ( brush_t *  b,
bool  bSelected 
)

Definition at line 3823 of file EditorBrush.cpp.

void DrawProjectedLight ( brush_t *  b,
bool  bSelected,
bool  texture 
)

Definition at line 3592 of file EditorBrush.cpp.

void DrawRenderModel ( idRenderModel model,
idVec3 origin,
idMat3 axis,
bool  cameraView 
)

Definition at line 55 of file EditorBrush.cpp.

void DrawSpeaker ( brush_t *  b,
bool  bSelected,
bool  twoD 
)

Definition at line 3740 of file EditorBrush.cpp.

void EmitTextureCoordinates ( idVec5 xyzst,
const idMaterial q,
face_t *  f,
bool  force 
)

Definition at line 556 of file EditorBrush.cpp.

bool Entity_GetRotationMatrixAngles ( entity_t e,
idMat3 mat,
idAngles angles 
)

Definition at line 3510 of file EditorBrush.cpp.

face_t* Face_Alloc ( void  )

Definition at line 251 of file EditorBrush.cpp.

face_t* Face_Clone ( face_t *  f)

Definition at line 285 of file EditorBrush.cpp.

void Face_Draw ( face_t *  f)

Definition at line 4527 of file EditorBrush.cpp.

void Face_FitTexture ( face_t *  face,
float  nHeight,
float  nWidth 
)

Definition at line 5148 of file EditorBrush.cpp.

void Face_FitTexture_BrushPrimit ( face_t *  f,
idVec3  mins,
idVec3  maxs,
float  nHeight,
float  nWidth 
)

Definition at line 609 of file EditorBrushPrimit.cpp.

void Face_Free ( face_t *  f)

Definition at line 268 of file EditorBrush.cpp.

face_t* Face_FullClone ( face_t *  f)

Definition at line 309 of file EditorBrush.cpp.

void Face_MakePlane ( face_t *  f)

Definition at line 525 of file EditorBrush.cpp.

int Face_MemorySize ( face_t *  f)

Definition at line 2314 of file EditorBrush.cpp.

void Face_MoveTexture ( face_t *  f,
idVec3  delta 
)

Definition at line 346 of file EditorBrush.cpp.

void Face_SetColor ( brush_t *  b,
face_t *  f,
float  fCurveColor 
)

Definition at line 392 of file EditorBrush.cpp.

void Face_TextureVectors ( face_t *  f,
float  STfromXYZ[2][4] 
)

Definition at line 418 of file EditorBrush.cpp.

bool GetMatrixForKey ( entity_t ent,
const char *  key,
idMat3 mat 
)

Definition at line 264 of file EditorEntity.cpp.

void GLCircle ( float  x,
float  y,
float  z,
float  r 
)

Definition at line 3703 of file EditorBrush.cpp.

void GLTransformedCircle ( int  type,
idVec3  origin,
float  r,
idMat3  mat,
float  pointSize,
idVec3  color,
float  maxDist 
)

Definition at line 4115 of file EditorBrush.cpp.

void GLTransformedVertex ( float  x,
float  y,
float  z,
idMat3  mat,
idVec3  origin,
idVec3  color,
float  maxDist 
)

Definition at line 4090 of file EditorBrush.cpp.

eclass_t* HasModel ( brush_t *  b)

Definition at line 3466 of file EditorBrush.cpp.

bool Patch_Intersect ( patchMesh_t *  pm,
idVec3  origin,
idVec3  direction,
float scale 
)
void WINAPI QERApp_MapPrintf_FILE ( char *  text,
  ... 
)

Definition at line 1564 of file EditorBrush.cpp.

void WINAPI QERApp_MapPrintf_MEMFILE ( char *  text,
  ... 
)

Definition at line 1789 of file EditorBrush.cpp.

bool RayIntersectsTri ( const idVec3 origin,
const idVec3 direction,
const idVec3 vert0,
const idVec3 vert1,
const idVec3 vert2,
float scale 
)
void RotateVector ( idVec3 v,
idVec3  origin,
float  a,
float  c,
float  s 
)

Definition at line 2487 of file EditorBrush.cpp.

void Select_AddProjectedLight ( )

Definition at line 4938 of file EditorBrush.cpp.

void SetFaceTexdef ( brush_t *  b,
face_t *  f,
texdef_t *  texdef,
brushprimit_texdef_t *  brushprimit_texdef,
bool  bFitScale 
)

Definition at line 2727 of file EditorBrush.cpp.

float ShadeForNormal ( idVec3  normal)

Definition at line 221 of file EditorBrush.cpp.

void SnapVectorToGrid ( idVec3 v)

Definition at line 89 of file EditorBrush.cpp.

idSurface_SweptSpline* SplineToSweptSpline ( idCurve< idVec3 > *  curve)

Definition at line 4543 of file EditorBrush.cpp.

bool Sys_KeyDown ( int  key)

Definition at line 49 of file NewTexWnd.cpp.

void TextureAxisFromPlane ( const idPlane pln,
idVec3 xv,
idVec3 yv 
)

Definition at line 192 of file EditorBrush.cpp.

void UpdateSelectablePoint ( brush_t *  b,
idVec3  v,
int  type 
)

Definition at line 238 of file XYWnd.cpp.

void VectorRotate3Origin ( const idVec3 vIn,
const idVec3 vRotation,
const idVec3 vOrigin,
idVec3 out 
)
void VectorSnapGrid ( idVec3 v)

Definition at line 291 of file XYWnd.cpp.

Variable Documentation

idVec3 baseaxis[18]
Initial value:
= {
idVec3(0, 0, 1),
idVec3(1, 0, 0),
idVec3(0, -1, 0),
idVec3(0, 0, -1),
idVec3(1, 0, 0),
idVec3(0, -1, 0),
idVec3(1, 0, 0),
idVec3(0, 1, 0),
idVec3(0, 0, -1),
idVec3(-1, 0, 0),
idVec3(0, 1, 0),
idVec3(0, 0, -1),
idVec3(0, 1, 0),
idVec3(1, 0, 0),
idVec3(0, 0, -1),
idVec3(0, -1, 0),
idVec3(1, 0, 0),
idVec3(0, 0, -1)
}
Definition: Vector.h:316

Definition at line 161 of file EditorBrush.cpp.

bool g_bShowLightTextures = false

Definition at line 44 of file EditorBrush.cpp.

bool g_bShowLightVolumes = false

Definition at line 43 of file EditorBrush.cpp.

FILE* g_File

Definition at line 1562 of file EditorBrush.cpp.

int g_nBrushId = 0

Definition at line 42 of file EditorBrush.cpp.

CMemFile* g_pMemFile

Definition at line 1787 of file EditorBrush.cpp.

float lightaxis[3] = { 0.6f, 0.8f, 1.0f }

Definition at line 219 of file EditorBrush.cpp.

const int POINTS_PER_KNOT = 50

Definition at line 48 of file EditorBrush.cpp.