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 Type
    Method
    Description
    float
     
    float
     
    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

      Vector store(FloatBuffer buf)
      Store this vector in a FloatBuffer
      Parameters:
      buf - The buffer to store it in, at the current position
      Returns:
      this