diff --git a/common/mathlib.cc b/common/mathlib.cc index 1e042a28..7fbaf87e 100644 --- a/common/mathlib.cc +++ b/common/mathlib.cc @@ -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]; diff --git a/include/common/mathlib.hh b/include/common/mathlib.hh index 008f9368..62819525 100644 --- a/include/common/mathlib.hh +++ b/include/common/mathlib.hh @@ -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