Interface Vector2FType

All Superinterfaces:
VectorComputationalType, VectorReadable2FType
All Known Implementing Classes:
Vector2F

@Immutable public interface Vector2FType extends VectorReadable2FType, VectorComputationalType
The type of 2D float-typed vectors.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    x()
     
    float
    y()
     
  • Method Details

    • x

      @Parameter(order=0) float x()
      Specified by:
      x in interface VectorReadable2FType
      Returns:
      The x component
    • y

      @Parameter(order=1) float y()
      Specified by:
      y in interface VectorReadable2FType
      Returns:
      The y component