Skip to content

Function: applyElementRotation() ​

ts
function applyElementRotation(rotation, geometry): void;

Defined in: packages/minerender/src/util/model.ts:21

Rotates geometry in place around the element's origin. The supplied angle is in degrees.

Parameters ​

ParameterType
rotationElementRotation
geometryBufferGeometry

Returns ​

void