format
typescript
Matrix4x4.EqualsTo(lhs, rhs)class: Matrix4x4
description
判断两个Matrix4x4矩阵是否相等。
parameter
| param_name | type | description |
|---|---|---|
| lhs | Matrix4x4 | 左值 |
| rhs | Matrix4x4 | 右值 |
return
| type | description |
|---|---|
boolean | 矩阵是否相等 |
code example
typescript
let lhs = new Matrix4x4();
let column = new Vector4(1,1,1,1);
matrix.SetColumn(0, column);
let rhs = Matrix4x4.identity;
//判断两个Matrix4x4矩阵是否相等
Matrix4x4.EqualsTo(lhs, rhs);