mathlib: fix SetPlanePts linkage

This commit is contained in:
Eric Wasylishen 2017-06-20 17:07:36 -06:00
parent 98c5dd2913
commit 4d9b41d3ec
2 changed files with 2 additions and 2 deletions

View File

@ -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];
}
static bool
bool
SetPlanePts(const vec3_t planepts[3], vec3_t normal, vec_t *dist)
{
vec3_t planevecs[2];

View File

@ -228,7 +228,7 @@ ProjectPointOntoPlane(const vec3_t normal, const vec_t dist, vec3_t 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 */
//FIXME: change from static buffers to returning std::string for thread safety