MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / MatrixBuildRotationAboutAxis

Function MatrixBuildRotationAboutAxis

src/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 11

MatrixBuildRotationFunction · 0.70
OnBindMethod · 0.50
PaintMethod · 0.50
GetPositionAtTimeMethod · 0.50
KeyValueMethod · 0.50
KeyValueMethod · 0.50
DoWashPushOnAirboatMethod · 0.50
MatrixRotateFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected