makeBasis method

Matrix4 makeBasis(
  1. Vector3 xAxis,
  2. Vector3 yAxis,
  3. Vector3 zAxis
)

Implementation

Matrix4 makeBasis(Vector3 xAxis, Vector3 yAxis, Vector3 zAxis) {
  set(xAxis.x, yAxis.x, zAxis.x, 0, xAxis.y, yAxis.y, zAxis.y, 0, xAxis.z, yAxis.z, zAxis.z, 0, 0, 0, 0, 1);

  return this;
}