GraphMine

util-math / io.github.sof3.graphmine.util.math

Package io.github.sof3.graphmine.util.math

Types

IntVector3 class IntVector3
A 3-dimensional vector in integers. Intended to store aligned positions e.g. block positions.
IntVector3Range class IntVector3Range : Iterable<IntVector3>
A unit-aligned cuboid region in the 3D space.
Side class Side
Represents one of the 6 directions in a 3D space.
Vector3 class Vector3
A 3-dimensional vector in floating point precision. Intended to store non-aligned positions, e.g. entity positions.

Annotations

Positional annotation class Positional
Applied on a Vector3 or IntVector3 to indicate that it represents a positional vector, e.g. the position of an object
Relative annotation class Relative
Applied on a Vector3 or IntVector3 to indicate that it represents a relative vector, e.g. the distance between two vectors

Extensions for External Classes

kotlin.Int