GraphMine

util-math / io.github.sof3.graphmine.util.math / Vector3 / <init>

<init>

Vector3(x: Double, y: Double, z: Double)

Constructs a Vector3 by specifying all coordinates

Vector3(values: DoubleArray)

A 3-dimensional vector in floating point precision. Intended to store non-aligned positions, e.g. entity positions.

The class is a value class. Values in this class cannot be changed. Therefore, no copy method is present.