Package org.lwjgl.util.vector
Interface ReadableVector
- All Known Subinterfaces:
ReadableVector2f,ReadableVector3f,ReadableVector4f
- All Known Implementing Classes:
Quaternion,Vector,Vector2f,Vector3f,Vector4f
public interface ReadableVector
- Author:
- foo
-
Method Summary
Modifier and TypeMethodDescriptionfloatlength()floatstore(FloatBuffer buf) Store this vector in a FloatBuffer
-
Method Details
-
length
float length()- Returns:
- the length of the vector
-
lengthSquared
float lengthSquared()- Returns:
- the length squared of the vector
-
store
Store this vector in a FloatBuffer- Parameters:
buf- The buffer to store it in, at the current position- Returns:
- this
-