This module provides a math library that targets at world geometry management.
kotlin.Int (extensions in package io.github.sof3.graphmine.util.math) | |
io.github.sof3.graphmine.util.math.IntVector3 | A 3-dimensional vector in integers. Intended to store aligned positions e.g. block positions. |
io.github.sof3.graphmine.util.math.IntVector3Range | A unit-aligned cuboid region in the 3D space. |
io.github.sof3.graphmine.util.math.Positional | Applied on a Vector3 or IntVector3 to indicate that it represents a positional vector, e.g. the position of an object |
io.github.sof3.graphmine.util.math.Relative | Applied on a Vector3 or IntVector3 to indicate that it represents a relative vector, e.g. the distance between two vectors |
io.github.sof3.graphmine.util.math.Side | Represents one of the 6 directions in a 3D space. |
io.github.sof3.graphmine.util.math.Vector3 | A 3-dimensional vector in floating point precision. Intended to store non-aligned positions, e.g. entity positions. |