Top Methods
org.lwjgl.util.vector

public Interface ReadableVector

Known Direct Subinterfaces
org.lwjgl.util.vector.ReadableVector2f
Known Direct Implementers
org.lwjgl.util.vector.Vector
Imports
java.nio.FloatBuffer

Author
foo

Method Summary

Modifier and TypeMethod and Description
public float

Returns:

the length of the vector
length
()

public float

Returns:

the length squared of the vector
lengthSquared
()

public Vector

Returns:

this
store
(FloatBuffer
The buffer to store it in, at the current position
buf
)

Store this vector in a FloatBuffer

Method Detail

lengthback to summary
public float length()
Returns:float

the length of the vector

lengthSquaredback to summary
public float lengthSquared()
Returns:float

the length squared of the vector

storeback to summary
public Vector store(FloatBuffer buf)

Store this vector in a FloatBuffer

Parameters
buf:FloatBuffer

The buffer to store it in, at the current position

Returns:Vector

this