MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / MatrixBuildRotationAboutAxis

Function MatrixBuildRotationAboutAxis

SourceSDK/mathlib/vmatrix.cpp:956–963  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Builds the matrix for a counterclockwise rotation about an arbitrary axis. | ax2 + (1 - ax2)cosQ axay(1 - cosQ) - azsinQ azax(1 - cosQ) + aysinQ | Ra(Q) = | axay(1 - cosQ) + azsinQ ay2 + (1 - ay2)cosQ ayaz(1 - cosQ) - axsinQ | | azax(1 - cosQ) - aysinQ ayaz(1 - cosQ) + axsinQ az2 + (1 - az2)cosQ | Inp

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

MatrixBuildRotationFunction · 0.70
MatrixRotateFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected