| 126 | |
| 127 | |
| 128 | void Tr2PerObjectDataSkinned::UpdateVertexShaderCBMirror( void* destination, Tr2RenderContext& renderContext ) const |
| 129 | { |
| 130 | uint8_t* vs = static_cast<uint8_t*>( destination ); |
| 131 | memcpy( vs + ( TR2_MAX_BONES_PER_MESHAREA * 3 ) * 16, &m_worldMat.m[0][0], 4 * 16 ); |
| 132 | memcpy( vs + ( TR2_MAX_BONES_PER_MESHAREA * 3 + 5 ) * 16, &m_mirrorMatrix.m[0][0], 4 * 16 ); |
| 133 | } |
| 134 | |
| 135 | void Tr2PerObjectDataSkinned::SetSkinningMatrices( unsigned int n, float* data ) |
| 136 | { |
no outgoing calls
no test coverage detected