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