mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-19 12:20:57 +00:00
matrix functions
most matrix functions are converted over, no benefit to converting over the project/ortho because they would be scalar anyway but may need to move them regardless.
This commit is contained in:
parent
67f12311d4
commit
bc3145bc55
21 changed files with 1881 additions and 136 deletions
|
|
@ -3406,7 +3406,7 @@ MatrixF MeshRoad::getNodeTransform( U32 idx )
|
|||
mat.setColumn( 2, node.normal );
|
||||
mat.setColumn( 3, node.point );
|
||||
|
||||
AssertFatal( m_matF_determinant( mat ) != 0.0f, "no inverse!");
|
||||
AssertFatal(mat.determinant() != 0.0f, "no inverse!");
|
||||
|
||||
return mat;
|
||||
}
|
||||
|
|
@ -3456,7 +3456,7 @@ void MeshRoad::calcSliceTransform( U32 idx, MatrixF &mat )
|
|||
mat.setColumn( 2, slice.normal );
|
||||
mat.setColumn( 3, slice.p1 );
|
||||
|
||||
AssertFatal( m_matF_determinant( mat ) != 0.0f, "no inverse!");
|
||||
AssertFatal(mat.determinant() != 0.0f, "no inverse!");
|
||||
}
|
||||
|
||||
F32 MeshRoad::getRoadLength() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue