extractBasis method

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

Implementation

Matrix3 extractBasis(Vector3 xAxis, Vector3 yAxis, Vector3 zAxis) {
  xAxis.setFromMatrix3Column(this, 0);
  yAxis.setFromMatrix3Column(this, 1);
  zAxis.setFromMatrix3Column(this, 2);

  return this;
}