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

Method getColumn

include/reactphysics3d/mathematics/Matrix2x2.h:180–183  ·  view source on GitHub ↗

Return a column

Source from the content-addressed store, hash-verified

178
179// Return a column
180RP3D_FORCE_INLINE Vector2 Matrix2x2::getColumn(int i) const {
181 assert(i>= 0 && i<2);
182 return Vector2(mRows[0][i], mRows[1][i]);
183}
184
185// Return a row
186RP3D_FORCE_INLINE Vector2 Matrix2x2::getRow(int i) const {

Callers

nothing calls this directly

Calls 1

Vector2Class · 0.70

Tested by

no test coverage detected