public final class MrVector4f extends java.lang.Object implements MrLinearAlgebraObject
Modifier and Type | Class and Description |
---|---|
static class |
MrVector4f.Operator |
Modifier and Type | Field and Description |
---|---|
static int |
COUNT |
static int |
SIZE |
static MrDataType |
TYPE |
float |
w |
float |
x |
float |
y |
float |
z |
Constructor and Description |
---|
MrVector4f() |
MrVector4f(float v) |
MrVector4f(float[] values) |
MrVector4f(float w,
float x,
float y,
float z) |
Modifier and Type | Method and Description |
---|---|
void |
copyValues(MrVector4f v) |
int |
getCount() |
MrDataType |
getDataType() |
static MrVector4f.Operator |
getOperator() |
float[] |
getValues() |
void |
setValues(float w,
float x,
float y,
float z) |
public static final int SIZE
public static final int COUNT
public static final MrDataType TYPE
public float w
public float x
public float y
public float z
public MrVector4f()
public MrVector4f(float w, float x, float y, float z)
public MrVector4f(float v)
public MrVector4f(float[] values)
public static MrVector4f.Operator getOperator()
public int getCount()
getCount
in interface MrLinearAlgebraObject
public float[] getValues()
getValues
in interface MrLinearAlgebraObject
public MrDataType getDataType()
getDataType
in interface MrLinearAlgebraObject
public void setValues(float w, float x, float y, float z)
public void copyValues(MrVector4f v)