public class Short3 extends Object
Constructor and Description |
---|
Short3() |
Short3(short i) |
Short3(Short3 source) |
Short3(short x,
short y,
short z) |
Modifier and Type | Method and Description |
---|---|
void |
add(short value) |
void |
add(Short3 a) |
static Short3 |
add(Short3 a,
short b) |
static Short3 |
add(Short3 a,
Short3 b) |
void |
addAt(int i,
short value) |
void |
addMultiple(Short3 a,
short factor) |
void |
copyTo(short[] data,
int offset) |
void |
div(short value) |
void |
div(Short3 a) |
static Short3 |
div(Short3 a,
short b) |
static Short3 |
div(Short3 a,
Short3 b) |
short |
dotProduct(Short3 a) |
static short |
dotProduct(Short3 a,
Short3 b) |
short |
elementSum() |
short |
get(int i) |
short |
length() |
void |
mod(short value) |
void |
mod(Short3 a) |
static Short3 |
mod(Short3 a,
short b) |
static Short3 |
mod(Short3 a,
Short3 b) |
void |
mul(short value) |
void |
mul(Short3 a) |
static Short3 |
mul(Short3 a,
short b) |
static Short3 |
mul(Short3 a,
Short3 b) |
void |
negate() |
void |
set(Short3 a) |
void |
setAt(int i,
short value) |
void |
setValues(short a,
short b,
short c) |
void |
sub(short value) |
void |
sub(Short3 a) |
static Short3 |
sub(Short3 a,
short b) |
static Short3 |
sub(Short3 a,
Short3 b) |
public Short3()
public Short3(short i)
public Short3(short x, short y, short z)
public Short3(Short3 source)
public void add(Short3 a)
a
- public void add(short value)
value
- public void sub(Short3 a)
a
- public void sub(short value)
value
- public void mul(Short3 a)
a
- public void mul(short value)
value
- public void div(Short3 a)
a
- public void div(short value)
value
- public void mod(Short3 a)
a
- public void mod(short value)
value
- public short length()
public void negate()
public short dotProduct(Short3 a)
a
- public void addMultiple(Short3 a, short factor)
a
- factor
- public void set(Short3 a)
a
- public void setValues(short a, short b, short c)
a
- b
- c
- public short elementSum()
public short get(int i)
i
- public void setAt(int i, short value)
i
- value
- public void addAt(int i, short value)
i
- value
- public void copyTo(short[] data, int offset)
data
- offset
-