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