TVector3 mbslib::mirrorVector(const TVector3 & v, const TVector3 & normal) { return v - 2 * normal * v.dot(normal); }