Vector3 - CreedVI/Raylib-J GitHub Wiki
The Vector3 data structure is used to store three floats as an x, y, z coordinate trio.
Vector3()
Vector3 position = new Vector3();Vector3 with the value of 0, 0, 0
Vector3(float x, float y, float z)
Vector3 position = new Vector3(55, 67.4f, 4.3f);Vector3 with the value of 55, 67.4f, 4.3f
setX(float x)
position.setX(53);x to 53
setY(float y)
position.setY(326);y to 326
setZ(float z)
position.setZ(33);z to 33
getX()
position.getX();x
getY()
position.getY();y
getZ()
position.getZ();z