Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
71
Matrix4f 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
81
float Matrix4f::Determinant() const
82
{
Callers
1
Update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected