Package org.robovm.apple.glkit
Class GLKVector2
- All Implemented Interfaces:
Iterable<GLKVector2>
public class GLKVector2 extends Struct<GLKVector2>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGLKVector2.GLKVector2Ptr -
Constructor Summary
Constructors Constructor Description GLKVector2()GLKVector2(FloatBuffer v) -
Method Summary
Modifier and Type Method Description GLKVector2add(GLKVector2 vectorRight)static GLKVector2add(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2AddGLKVector2addScalar(float value)ported from GLKVector2AddScalarbooleanallEqualToScalar(float value)ported from GLKVector2AllEqualToScalarbooleanallEqualToVector2(GLKVector2 vectorRight)ported from GLKVector2AllEqualToVector2static booleanallEqualToVector2(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2AllEqualToVector2booleanallGreaterThanOrEqualToScalar(float value)ported from GLKVector2AllGreaterThanOrEqualToScalarbooleanallGreaterThanOrEqualToVector2(GLKVector2 vectorRight)static booleanallGreaterThanOrEqualToVector2(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2AllGreaterThanOrEqualToVector2booleanallGreaterThanScalar(float value)ported from GLKVector2AllGreaterThanScalarbooleanallGreaterThanVector2(GLKVector2 vectorRight)static booleanallGreaterThanVector2(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2AllGreaterThanVector2static GLKVector2create(float[] values)ported from GLKVector2MakeWithArraystatic GLKVector2create(float x, float y)ported from GLKVector2Makefloatdistance(GLKVector2 vectorEnd)static floatdistance(GLKVector2 vectorStart, GLKVector2 vectorEnd)ported from GLKVector2DistanceGLKVector2divide(GLKVector2 vectorRight)ported from GLKVector2DivideGLKVector2divideScalar(float value)ported from GLKVector2DivideScalarfloatdotProduct(GLKVector2 vectorRight)static floatdotProduct(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2DotProductFloatBuffergetV()floatlength()ported from GLKVector2LengthGLKVector2lerp(GLKVector2 vectorEnd, float t)static GLKVector2lerp(GLKVector2 vectorStart, GLKVector2 vectorEnd, float t)ported from GLKVector2LerpGLKVector2maximum(GLKVector2 vectorRight)static GLKVector2maximum(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2MaximumGLKVector2minimum(GLKVector2 vectorRight)ported from GLKVector2Minimumstatic GLKVector2minimum(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2MinimumGLKVector2multiply(GLKVector2 vectorRight)static GLKVector2multiply(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2MultiplyGLKVector2multiplyScalar(float value)ported from GLKVector2SubtractScalarGLKVector2negate()ported from GLKVector2NegateGLKVector2normalize()ported from GLKVector2NormalizeGLKVector2project(GLKVector2 projectionVector)static GLKVector2project(GLKVector2 vectorToProject, GLKVector2 projectionVector)ported from GLKVector2ProjectGLKVector2setV(FloatBuffer v)GLKVector2subtract(GLKVector2 vectorRight)static GLKVector2subtract(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2SubtractGLKVector2subtractScalar(float value)ported from GLKVector2SubtractScalarMethods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
Constructor Details
-
GLKVector2
public GLKVector2() -
GLKVector2
-
-
Method Details
-
getV
-
setV
-
create
ported from GLKVector2Make -
create
ported from GLKVector2MakeWithArray -
negate
ported from GLKVector2Negate -
add
-
add
ported from GLKVector2Add -
subtract
-
subtract
ported from GLKVector2Subtract -
multiply
-
multiply
ported from GLKVector2Multiply -
divide
ported from GLKVector2Divide -
addScalar
ported from GLKVector2AddScalar -
subtractScalar
ported from GLKVector2SubtractScalar -
multiplyScalar
ported from GLKVector2SubtractScalar -
divideScalar
ported from GLKVector2DivideScalar -
maximum
-
maximum
ported from GLKVector2Maximum -
minimum
ported from GLKVector2Minimum -
minimum
ported from GLKVector2Minimum -
allEqualToVector2
ported from GLKVector2AllEqualToVector2 -
allEqualToVector2
ported from GLKVector2AllEqualToVector2 -
allEqualToScalar
public boolean allEqualToScalar(float value)ported from GLKVector2AllEqualToScalar -
allGreaterThanVector2
-
allGreaterThanVector2
ported from GLKVector2AllGreaterThanVector2 -
allGreaterThanScalar
public boolean allGreaterThanScalar(float value)ported from GLKVector2AllGreaterThanScalar -
allGreaterThanOrEqualToVector2
-
allGreaterThanOrEqualToVector2
public static boolean allGreaterThanOrEqualToVector2(GLKVector2 vectorLeft, GLKVector2 vectorRight)ported from GLKVector2AllGreaterThanOrEqualToVector2 -
allGreaterThanOrEqualToScalar
public boolean allGreaterThanOrEqualToScalar(float value)ported from GLKVector2AllGreaterThanOrEqualToScalar -
normalize
ported from GLKVector2Normalize -
dotProduct
-
dotProduct
ported from GLKVector2DotProduct -
length
public float length()ported from GLKVector2Length -
distance
-
distance
ported from GLKVector2Distance -
lerp
-
lerp
ported from GLKVector2Lerp -
project
-
project
ported from GLKVector2Project
-