mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 18:01:13 +00:00
Make PlaneTypeForNormal const-correct.
This commit is contained in:
parent
9a30968c87
commit
c9eb679c41
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ extern int numbrushplanes;
|
||||||
extern plane_t planes[MAX_MAP_PLANES];
|
extern plane_t planes[MAX_MAP_PLANES];
|
||||||
|
|
||||||
brushset_t *Brush_LoadEntity (entity_t *ent, int hullnum);
|
brushset_t *Brush_LoadEntity (entity_t *ent, int hullnum);
|
||||||
int PlaneTypeForNormal (vec3_t normal);
|
int PlaneTypeForNormal (const vec3_t normal);
|
||||||
int FindPlane (plane_t *dplane, int *side);
|
int FindPlane (plane_t *dplane, int *side);
|
||||||
|
|
||||||
#endif//qfbsp_brush_h
|
#endif//qfbsp_brush_h
|
||||||
|
|
|
@ -134,7 +134,7 @@ AddToBounds (brushset_t *bs, vec3_t v)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
PlaneTypeForNormal (vec3_t normal)
|
PlaneTypeForNormal (const vec3_t normal)
|
||||||
{
|
{
|
||||||
float ax, ay, az;
|
float ax, ay, az;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue