Interface ReadableVector
-
- All Known Subinterfaces:
ReadableVector2f
,ReadableVector3f
,ReadableVector4f
- All Known Implementing Classes:
Quaternion
,Vector
,Vector2f
,Vector3f
,Vector4f
public interface ReadableVector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
length()
float
lengthSquared()
Vector
store(FloatBuffer buf)
Store this vector in a FloatBuffer
-
-
-
Method Detail
-
length
float length()
- Returns:
- the length of the vector
-
lengthSquared
float lengthSquared()
- Returns:
- the length squared of the vector
-
store
Vector store(FloatBuffer buf)
Store this vector in a FloatBuffer- Parameters:
buf
- The buffer to store it in, at the current position- Returns:
- this
-
-