MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / setAllValues

Method setAllValues

include/reactphysics3d/mathematics/Matrix2x2.h:167–171  ·  view source on GitHub ↗

Method to set all the values in the matrix

Source from the content-addressed store, hash-verified

165
166// Method to set all the values in the matrix
167RP3D_FORCE_INLINE void Matrix2x2::setAllValues(decimal a1, decimal a2,
168 decimal b1, decimal b2) {
169 mRows[0][0] = a1; mRows[0][1] = a2;
170 mRows[1][0] = b1; mRows[1][1] = b2;
171}
172
173// Set the matrix to zero
174RP3D_FORCE_INLINE void Matrix2x2::setToZero() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected