Skip to content

five-on-it / apps/tools/src/frame / mirrorX

Function: mirrorX() ​

mirrorX(frame): Frame

Defined in: apps/tools/src/frame.ts:93

The same frame seen from the other side of the mirror x → −x: the editor's left-handed scene and the game's right-handed world. Yaw and roll change sign, the pitch and the scaling do not. Its own inverse.

Parameters ​

frame ​

Frame

Returns ​

Frame