makeBasis method
Makes a basis from the given vectors.
Implementation
Matrix3 makeBasis(Vector3 xAxis, Vector3 yAxis, Vector3 zAxis ) {
set(
xAxis.x, yAxis.x, zAxis.x,
xAxis.y, yAxis.y, zAxis.y,
xAxis.z, yAxis.z, zAxis.z
);
return this;
}
Makes a basis from the given vectors.
Matrix3 makeBasis(Vector3 xAxis, Vector3 yAxis, Vector3 zAxis ) {
set(
xAxis.x, yAxis.x, zAxis.x,
xAxis.y, yAxis.y, zAxis.y,
xAxis.z, yAxis.z, zAxis.z
);
return this;
}