X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmath%2Fvector.hxx;h=f27f8b60a773bc60ff20cea7c534446cf12c000f;hb=4c79263dcff9072897089540be9876d6f21b794c;hp=006b192428a327b11a2340932997923ff0a11477;hpb=5173d709e090b953eaf800cbcd1bf897de332a12;p=simgear.git diff --git a/simgear/math/vector.hxx b/simgear/math/vector.hxx index 006b1924..f27f8b60 100644 --- a/simgear/math/vector.hxx +++ b/simgear/math/vector.hxx @@ -37,15 +37,6 @@ #include -#include - - -// Map a vector onto the plane specified by normal -void map_vec_onto_cur_surface_plane( MAT3vec normal, - MAT3vec v0, - MAT3vec vec, - MAT3vec result ); - inline void sgmap_vec_onto_cur_surface_plane( sgVec3 normal, sgVec3 v0, @@ -92,16 +83,6 @@ inline void sgmap_vec_onto_cur_surface_plane( sgVec3 normal, } -// Given a point p, and a line through p0 with direction vector d, -// find the shortest distance from the point to the line -double fgPointLine(MAT3vec p, MAT3vec p0, MAT3vec d); - - -// Given a point p, and a line through p0 with direction vector d, -// find the shortest distance (squared) from the point to the line -double fgPointLineSquared(MAT3vec p, MAT3vec p0, MAT3vec d); - - // Given a point p, and a line through p0 with direction vector d, // find the shortest distance (squared) from the point to the line double sgPointLineDistSquared( const sgVec3 p, const sgVec3 p0,