KMatrix4.isEqual() method
检查两个矩阵在特定容差下是否相等。
Check whether two matrices are equal with specified tolerances.
Signature:
isEqual(other: KMatrix4, tolerance?: number): boolean;
Links: isEqual(other: KMatrix4, tolerance?: number): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
other | 被比较的矩阵。 The matrix to compare this matrix with. | |
tolerance | number | (Optional) 指定容差,默认值是1e-6。 The specified tolerance.The default value is 1e-6. |
Returns:
boolean
如果相等则返回true。
Return true if equal, otherwise return false.