Home > decentraland-ecs > Quaternion > AreClose
Checks if the two quaternions are close to each other
Signature:
static AreClose(quat0: Quaternion, quat1: Quaternion): boolean;
Returns: boolean
true if the two quaternions are close to each other
Parameter | Type | Description |
---|---|---|
quat0 |
Quaternion |
defines the first quaternion to check |
quat1 |
Quaternion |
defines the second quaternion to check |