Function: applyGenericRotation()
ts
function applyGenericRotation(
axis,
rotation,
obj
): void;Defined in: packages/minerender/src/util/model.ts:102
Rotates an object around a local axis by an angle in degrees.
Parameters
| Parameter | Type |
|---|---|
axis | Axis |
rotation | number |
obj | Object3D |
Returns
void