Class DhApiVec3f
java.lang.Object
com.seibel.distanthorizons.api.objects.math.DhApiVec3f
- All Implemented Interfaces:
IDhApiCopyable
Often used to store block positions or any other
position in 3D space.
- Since:
- API 2.2.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
public float x -
y
public float y -
z
public float z
-
-
Constructor Details
-
DhApiVec3f
public DhApiVec3f()creates a Vec3 at (0,0,0) -
DhApiVec3f
public DhApiVec3f(float x, float y, float z)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
copy
Description copied from interface:IDhApiCopyable
Returns a deep clone of all parameters whenever possible.- Specified by:
copy
in interfaceIDhApiCopyable
-