From: frohlich Date: Thu, 14 Dec 2006 05:24:16 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f40770fc60c0779acab9fc7f35f60b67b0340c7;p=simgear.git Modified Files: simgear/math/SGVec3.hxx: fix spelling --- diff --git a/simgear/math/SGVec3.hxx b/simgear/math/SGVec3.hxx index d9d998df..7d4eec13 100644 --- a/simgear/math/SGVec3.hxx +++ b/simgear/math/SGVec3.hxx @@ -364,11 +364,11 @@ cross(const SGVec3& v1, const SGVec3& v2) v1(0)*v2(1) - v1(1)*v2(0)); } -/// return any vector perpandicular to v +/// return any vector perpendicular to v template inline SGVec3 -perpandicular(const SGVec3& v) +perpendicular(const SGVec3& v) { if (fabs(v.x()) < fabs(v.y()) && fabs(v.x()) < fabs(v.z())) return cross(SGVec3f(1, 0, 0), v);