Class Rect3D
java.lang.Object
zombie.combat.Rect3D
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector3forg.joml.Vector3f[]floatrayIntersection(org.joml.Vector3f origin, org.joml.Vector3f direction) voidvoidsetMax(float x, float y, float z) voidsetMin(float x, float y, float z)
-
Constructor Details
-
Rect3D
public Rect3D()
-
-
Method Details
-
set
-
setMin
public void setMin(float x, float y, float z) -
setMax
public void setMax(float x, float y, float z) -
getCorners
public org.joml.Vector3f[] getCorners() -
getCenter
public org.joml.Vector3f getCenter() -
rayIntersection
public float rayIntersection(org.joml.Vector3f origin, org.joml.Vector3f direction)
-