Class Vector3i
Inheritance
java.lang.Object
Vector3i
Syntax
Constructors
Vector3i(int x, int y, int z)
Declaration
public Vector3i(int x, int y, int z)
Parameters
Type |
Name |
Description |
int |
x |
|
int |
y |
|
int |
z |
|
Methods
abs()
Declaration
Returns
add(int r)
Declaration
public Vector3i add(int r)
Parameters
Type |
Name |
Description |
int |
r |
|
Returns
add(Vector3i r)
Declaration
public Vector3i add(Vector3i r)
Parameters
Returns
cross(Vector3i r)
Declaration
public Vector3i cross(Vector3i r)
Parameters
Returns
div(int r)
Declaration
public Vector3i div(int r)
Parameters
Type |
Name |
Description |
int |
r |
|
Returns
div(Vector3i r)
Declaration
public Vector3i div(Vector3i r)
Parameters
Returns
dot(Vector3i r)
Declaration
public float dot(Vector3i r)
Parameters
Returns
equals(Vector3i r)
Declaration
public boolean equals(Vector3i r)
Parameters
Returns
getX()
Declaration
Returns
getXY()
Declaration
Returns
getXZ()
Declaration
Returns
getY()
Declaration
Returns
getYX()
Declaration
Returns
getYZ()
Declaration
Returns
getZ()
Declaration
Returns
getZX()
Declaration
Returns
getZY()
Declaration
Returns
length()
Declaration
Returns
max()
Declaration
Returns
mul(int r)
Declaration
public Vector3i mul(int r)
Parameters
Type |
Name |
Description |
int |
r |
|
Returns
mul(Vector3i r)
Declaration
public Vector3i mul(Vector3i r)
Parameters
Returns
normalize()
Declaration
public Vector3i normalize()
Returns
set(int x, int y, int z)
Declaration
public Vector3i set(int x, int y, int z)
Parameters
Type |
Name |
Description |
int |
x |
|
int |
y |
|
int |
z |
|
Returns
set(Vector3i other)
Declaration
public Vector3i set(Vector3i other)
Parameters
Returns
setX(int x)
Declaration
Parameters
Type |
Name |
Description |
int |
x |
|
setY(int y)
Declaration
Parameters
Type |
Name |
Description |
int |
y |
|
setZ(int z)
Declaration
Parameters
Type |
Name |
Description |
int |
z |
|
sub(int r)
Declaration
public Vector3i sub(int r)
Parameters
Type |
Name |
Description |
int |
r |
|
Returns
sub(Vector3i r)
Declaration
public Vector3i sub(Vector3i r)
Parameters
Returns
toString()
Declaration
Returns