Removed superflous Vector3f.magnitude()

This commit is contained in:
Elias Naur 2003-04-09 15:24:27 +00:00
parent c82ecd306d
commit 34e1cd0d8a
1 changed files with 0 additions and 9 deletions

View File

@ -214,15 +214,6 @@ public class Vector3f extends Vector {
return dest;
}
/**
* Get the magnitude of of the vector
* @return the magnitude of the vector
*/
public float magnitude()
{
return Math.sqrt( (x * x) + (y * y) + (z * z) );
}
/**
* The dot product of two vectors is calculated as
* v1.x * v2.x + v1.y * v2.y + v1.z * v2.z