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

Method setTransform

Source/Falcor/Scene/Lights/EnvMap.cpp:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 void EnvMap::setTransform(const float4x4& xform)
76 {
77 float3 rotation;
78 // Extract rotation from the computed transform
79 math::extractEulerAngleXYZ(xform, rotation.x, rotation.y, rotation.z);
80 setRotation(math::degrees(rotation));
81 }
82
83 void EnvMap::setIntensity(float intensity)
84 {

Callers 2

fillInstanceDescMethod · 0.80
parseXMLFunction · 0.80

Calls 2

extractEulerAngleXYZFunction · 0.85
degreesFunction · 0.50

Tested by

no test coverage detected