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