Skip to content

five-on-it / apps/client/src/renderer/models / doorMotion

Function: doorMotion() ​

doorMotion(door, open, out): Matrix

Defined in: apps/client/src/renderer/models.ts:217

Where a door stands open of the way (0 shut, 1 wide open) as a matrix in the actor's frame, into out: turned about the vertical through its hinge.

Parameters ​

door ​

DoorInfo

open ​

number

out ​

Matrix

Returns ​

Matrix