MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetBoneMatrix

Method SetBoneMatrix

trinity/Lights/Tr2Light.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void Tr2Light::SetBoneMatrix( const Float4x3* bones, size_t boneCount )
99{
100 if( m_lightData.boneIndex >= 0 && m_lightData.boneIndex < boneCount )
101 {
102 Matrix m = IdentityMatrix();
103 TriMatrixCopyFrom3x4( &m, &bones[m_lightData.boneIndex] );
104 m_boneTransform = m;
105 }
106}
107
108
109void Tr2Light::SetBrightnessMultiplier( float multi )

Callers

nothing calls this directly

Calls 1

TriMatrixCopyFrom3x4Function · 0.85

Tested by

no test coverage detected