mathlib: fix SetPlanePts linkage
This commit is contained in:
parent
98c5dd2913
commit
4d9b41d3ec
|
|
@ -51,7 +51,7 @@ CrossProduct(const vec3_t v1, const vec3_t v2, vec3_t cross)
|
||||||
cross[2] = v1[0] * v2[1] - v1[1] * v2[0];
|
cross[2] = v1[0] * v2[1] - v1[1] * v2[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
bool
|
||||||
SetPlanePts(const vec3_t planepts[3], vec3_t normal, vec_t *dist)
|
SetPlanePts(const vec3_t planepts[3], vec3_t normal, vec_t *dist)
|
||||||
{
|
{
|
||||||
vec3_t planevecs[2];
|
vec3_t planevecs[2];
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,7 @@ ProjectPointOntoPlane(const vec3_t normal, const vec_t dist, vec3_t point)
|
||||||
VectorAdd(point, move, point);
|
VectorAdd(point, move, point);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool SetPlanePts(const vec3_t planepts[3], vec3_t normal, vec_t *dist);
|
bool SetPlanePts(const vec3_t planepts[3], vec3_t normal, vec_t *dist);
|
||||||
|
|
||||||
/* Shortcut for output of warnings/errors */
|
/* Shortcut for output of warnings/errors */
|
||||||
//FIXME: change from static buffers to returning std::string for thread safety
|
//FIXME: change from static buffers to returning std::string for thread safety
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue