Skip to content

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 ​

ParameterType
axisAxis
rotationnumber
objObject3D

Returns ​

void