Return the trace of the matrix
| 218 | |
| 219 | // Return the trace of the matrix |
| 220 | RP3D_FORCE_INLINE decimal Matrix3x3::getTrace() const { |
| 221 | |
| 222 | // Compute and return the trace |
| 223 | return (mRows[0][0] + mRows[1][1] + mRows[2][2]); |
| 224 | } |
| 225 | |
| 226 | // Set the matrix to the identity matrix |
| 227 | RP3D_FORCE_INLINE void Matrix3x3::setToIdentity() { |
nothing calls this directly
no outgoing calls
no test coverage detected