getRotationMatricesForVec

fun getRotationMatricesForVec(vec: Vec3): Pair<Matrix3f, Matrix3f>

Creates rotation matrices: The first allows to turn the vec (1.0, 0.0, 0.0) into the given vec. The second allows to turn the given vec into (1.0, 0.0, 0.0).