MCPcopy Create free account
hub / github.com/baldurk/renderdoc / Transpose

Method Transpose

renderdoc/maths/matrix.cpp:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71Matrix4f Matrix4f::Transpose() const
72{
73 Matrix4f m;
74 for(size_t x = 0; x < 4; x++)
75 for(size_t y = 0; y < 4; y++)
76 m[matIdx(x, y)] = (*this)[matIdx(y, x)];
77
78 return m;
79}
80
81float Matrix4f::Determinant() const
82{

Callers 1

UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected