Class IntegerPoint

java.lang.Object
eu.svjatoslav.sixth.e3d.renderer.octree.IntegerPoint

public class IntegerPoint extends Object
Point in 3D space with integer coordinates. Used for octree voxel positions.
  • Field Details

    • x

      public int x
      X coordinate.
    • y

      public int y
      Y coordinate.
    • z

      public int z
      Z 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 coordinate
      y - the Y coordinate
      z - the Z coordinate