package me.eater.threedom.utils.joml import org.joml.Matrix4d import org.joml.Vector3d fun Matrix4d.setTranslation(x: T, y: T, z: T): Matrix4d = setTranslation(x.toDouble(), y.toDouble(), z.toDouble()) fun Matrix4d.getTranslation(): Vector3d = getTranslation(Vector3d()) @Suppress("FunctionName") fun Vector3d(x: T, y: T, z: T) = Vector3d(x.toDouble(), y.toDouble(), z.toDouble())