Interface PVector2FType<T>

Type Parameters:
T - A phantom type parameter
All Superinterfaces:
PVectorReadable2FType<T>, VectorComputationalType, VectorReadable2FType
All Known Implementing Classes:
PVector2F

@Immutable public interface PVector2FType<T> extends PVectorReadable2FType<T>, 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