Class IntegerPoint
java.lang.Object
eu.svjatoslav.sixth.e3d.renderer.octree.IntegerPoint
Point in 3D space with integer coordinates. Used for octree voxel positions.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a point at the origin (0, 0, 0).IntegerPoint(int x, int y, int z) Creates a point with the specified coordinates. -
Method Summary
-
Field Details
-
x
public int xX coordinate. -
y
public int yY coordinate. -
z
public int zZ coordinate.
-
-
Constructor Details
-
IntegerPoint
public IntegerPoint()Creates a point at the origin (0, 0, 0). -
IntegerPoint
public IntegerPoint(int x, int y, int z) Creates a point with the specified coordinates.- Parameters:
x- the X coordinatey- the Y coordinatez- the Z coordinate
-