MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / transformVector

Function transformVector

Source/Falcor/Utils/Math/MatrixMath.h:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117/// Transform a vector by a 3x3 matrix.
118template<typename T>
119[[nodiscard]] vector<T, 3> transformVector(const matrix<T, 3, 3>& m, const vector<T, 3>& v)
120{
121 return mul(m, v);
122}
123
124/// Transform a vectir by a 4x4 matrix. The vector is treated as a column vector with a 0 in the 4th component.
125template<typename T>

Callers 12

rotateGridPlaneMethod · 0.50
handleActionsMethod · 0.50
updateBoundsMethod · 0.50
applyTransformMethod · 0.50
updateMethod · 0.50
coneUnionFunction · 0.50
createCameraMethod · 0.50
createLightFunction · 0.50
CPU_TESTFunction · 0.50
CPU_TESTFunction · 0.50

Calls 2

mulFunction · 0.70
TFunction · 0.50

Tested by 2

CPU_TESTFunction · 0.40
CPU_TESTFunction · 0.40