KMatrix3.inverse() method
将当前矩阵进行求逆。 如果throwOnDegenerate未设置且矩阵不可逆,则当前矩阵变成三位三列单位矩阵,并且抛出异常。
Inverse this matrix. If throwOnDegenerate is not set and the matrix is not invertible, set this to the 3x3 identity matrix and an exception will be threw.
Signature:
inverse(throwOnDegenerate?: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
throwOnDegenerate | boolean | (Optional) 默认值是true。 The default value is true. |
Returns:
void