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
| Parameter | Type |
|---|---|
rotation | ElementRotation |
geometry | BufferGeometry |
Returns
void