extractBasis method

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

Implementation

Matrix4 extractBasis(Vector3 xAxis, Vector3 yAxis, Vector3 zAxis) {
  xAxis.setFromMatrixColumn(this, 0);
  yAxis.setFromMatrixColumn(this, 1);
  zAxis.setFromMatrixColumn(this, 2);

  return this;
}