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

[MathLib] Vector3: Removed unused code.

parent 19086666
No related branches found
No related tags found
No related merge requests found
...@@ -110,13 +110,6 @@ public: ...@@ -110,13 +110,6 @@ public:
TemplateVector3<T1> const& v, TemplateVector3<T1> const& v,
TemplateVector3<T1> const& w); TemplateVector3<T1> const& w);
/// Cross product with another vector
TemplateVector3 Cross( const TemplateVector3 & pV ) const
{ return *this * pV; }
friend TemplateVector3 Cross( const TemplateVector3 & p1, const TemplateVector3 & p2 )
{ return p1 * p2; }
TemplateVector3 operator*(double pR) const // * a scalar TemplateVector3 operator*(double pR) const // * a scalar
{ {
return TemplateVector3(this->x[0] * pR, this->x[1] * pR, this->x[2] * pR); return TemplateVector3(this->x[0] * pR, this->x[1] * pR, this->x[2] * pR);
......
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