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