Class Float2

    • Field Summary

      Fields 
      Modifier and Type Field Description
      float s0  
      float s1  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Float2​(float aS0, float aS1)  
    • Field Detail

      • s0

        public float s0
      • s1

        public float s1
    • Constructor Detail

      • Float2

        private Float2​(float aS0,
                       float aS1)
    • Method Detail

      • float2

        public static Float2 float2​(float aS0,
                                    float aS1)
      • writeTo

        public void writeTo​(java.nio.FloatBuffer aBuffer)
        Specified by:
        writeTo in interface FloatSerializable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • length

        float length()
      • dot

        float dot​(Float2 aOtherVector)