Skip to content
Snippets Groups Projects
Commit 87f7c2b6 authored by Tom Fischer's avatar Tom Fischer
Browse files

[MathLib] Vector3: Removed unused code.

parent 1ee83831
No related branches found
No related tags found
No related merge requests found
......@@ -133,15 +133,6 @@ public:
return sqrt(sqrLength());
}
/// Projection (component of *this parallel to pV).
/// Note: component perpendicular to pV is: *this - Proj(pV)
TemplateVector3 Proj(const TemplateVector3 & pV)
{ TemplateVector3 out( pV * (this->Dot(pV) / pV.LenSqr()) ); return out; }
/// Cosine of the angle between two vectors:
double CosAng(const TemplateVector3& pV)
{ return this->Dot(pV) / (Length() * pV.Length()); }
/// Comparison if equal
bool operator==(TemplateVector3 const& v) const
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment