Class GLKVector4

All Implemented Interfaces:
Iterable<GLKVector4>

public class GLKVector4
extends Struct<GLKVector4>
  • Constructor Details

    • GLKVector4

      public GLKVector4()
    • GLKVector4

      public GLKVector4​(FloatBuffer v)
  • Method Details

    • getV

      public FloatBuffer getV()
    • setV

      public GLKVector4 setV​(FloatBuffer v)
    • create

      public static GLKVector4 create​(float x, float y, float z, float w)
      ported from GLKVector4Make
    • create

      public static GLKVector4 create​(float[] values)
      ported from GLKVector4MakeWithArray
    • create

      public static GLKVector4 create​(GLKVector3 vector, float w)
      ported from GLKVector4MakeWithVector3
    • negate

      public GLKVector4 negate()
      ported from GLKVector4Negate
    • add

      public GLKVector4 add​(GLKVector4 vectorRight)
    • add

      public static GLKVector4 add​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4Add
    • subtract

      public GLKVector4 subtract​(GLKVector4 vectorRight)
    • subtract

      public static GLKVector4 subtract​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4Subtract
    • multiply

      public GLKVector4 multiply​(GLKVector4 vectorRight)
    • multiply

      public static GLKVector4 multiply​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4Multiply
    • divide

      public GLKVector4 divide​(GLKVector4 vectorRight)
    • divide

      public static GLKVector4 divide​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4Divide
    • addScalar

      public GLKVector4 addScalar​(float value)
      ported from GLKVector4AddScalar
    • subtractScalar

      public GLKVector4 subtractScalar​(float value)
      ported from GLKVector4SubtractScalar
    • multiplyScalar

      public GLKVector4 multiplyScalar​(float value)
      ported from GLKVector4MultiplyScalar
    • divideScalar

      public GLKVector4 divideScalar​(float value)
      ported from GLKVector4DivideScalar
    • maximum

      public GLKVector4 maximum​(GLKVector4 vectorRight)
    • maximum

      public static GLKVector4 maximum​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4Maximum
    • minimum

      public GLKVector4 minimum​(GLKVector4 vectorRight)
    • minimum

      public static GLKVector4 minimum​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4Minimum
    • allEqualToVector4

      public boolean allEqualToVector4​(GLKVector4 vectorRight)
    • allEqualToVector4

      public static boolean allEqualToVector4​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4AllEqualToVector4
    • allEqualToScalar

      public boolean allEqualToScalar​(float value)
      ported from GLKVector4AllEqualToScalar
    • allGreaterThanVector4

      public boolean allGreaterThanVector4​(GLKVector4 vectorRight)
    • allGreaterThanVector4

      public static boolean allGreaterThanVector4​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4AllGreaterThanVector4
    • allGreaterThanScalar

      public boolean allGreaterThanScalar​(float value)
      ported from GLKVector4AllGreaterThanScalar
    • allGreaterThanOrEqualToVector4

      public boolean allGreaterThanOrEqualToVector4​(GLKVector4 vectorRight)
    • allGreaterThanOrEqualToVector4

      public static boolean allGreaterThanOrEqualToVector4​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4AllGreaterThanOrEqualToVector4
    • allGreaterThanOrEqualToScalar

      public boolean allGreaterThanOrEqualToScalar​(float value)
      ported from allGreaterThanOrEqualToScalar
    • normalize

      public GLKVector4 normalize()
      ported from GLKVector4Normalize
    • dotProduct

      public float dotProduct​(GLKVector4 vectorRight)
    • dotProduct

      public static float dotProduct​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4DotProduct
    • length

      public float length()
      ported from GLKVector4Length
    • distance

      public float distance​(GLKVector4 vectorEnd)
    • distance

      public static float distance​(GLKVector4 vectorStart, GLKVector4 vectorEnd)
      ported from GLKVector4Distance
    • lerp

      public GLKVector4 lerp​(GLKVector4 vectorEnd, float t)
    • lerp

      public static GLKVector4 lerp​(GLKVector4 vectorStart, GLKVector4 vectorEnd, float t)
      ported from GLKVector4Lerp
    • crossProduct

      public GLKVector4 crossProduct​(GLKVector4 vectorRight)
    • crossProduct

      public static GLKVector4 crossProduct​(GLKVector4 vectorLeft, GLKVector4 vectorRight)
      ported from GLKVector4CrossProduct
    • project

      public GLKVector4 project​(GLKVector4 projectionVector)
    • project

      public static GLKVector4 project​(GLKVector4 vectorToProject, GLKVector4 projectionVector)
      ported from GLKVector4Project