format
typescript
Quaternion.EqualsTo(lhs, rhs)class: Quaternion
description
Determines if the quaternion is approximately equal to the target quaternion.
parameter
| param_name | type | description |
|---|---|---|
| lhs | Quaternion | The quaternion to compare. |
| rhs | Quaternion | The target quaternion. |
return
| type | description |
|---|---|
boolean | True if the quaternions are approximately equal, otherwise false. |
code example
typescript
let lhs = new Quaternion(1,1,1,1);
let rhs = Quaternion.zero;
Quaternion.EqualsTo(other);