Removed superflous Vector3f.magnitude()
This commit is contained in:
parent
c82ecd306d
commit
34e1cd0d8a
|
@ -214,15 +214,6 @@ public class Vector3f extends Vector {
|
||||||
return dest;
|
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
|
* The dot product of two vectors is calculated as
|
||||||
* v1.x * v2.x + v1.y * v2.y + v1.z * v2.z
|
* v1.x * v2.x + v1.y * v2.y + v1.z * v2.z
|
||||||
|
|
Loading…
Reference in New Issue