| 3534 | } |
| 3535 | |
| 3536 | void EveSpaceObject2::GetLights( Tr2LightManager& lightManager ) const |
| 3537 | { |
| 3538 | if( !m_display ) |
| 3539 | { |
| 3540 | return; |
| 3541 | } |
| 3542 | |
| 3543 | XMMATRIX worldTransform = m_worldTransform; |
| 3544 | |
| 3545 | size_t boneCount = 0; |
| 3546 | const Float4x3* bones = nullptr; |
| 3547 | Tr2GrannyAnimationUtils::GetBoneList( m_animationUpdater, bones, boneCount ); |
| 3548 | |
| 3549 | for( auto it = std::begin( m_lights ); it != std::end( m_lights ); ++it ) |
| 3550 | { |
| 3551 | ( *it )->AddLight( lightManager, worldTransform, 1.0f, bones, boneCount ); |
| 3552 | ( *it )->SetBrightnessMultiplier( m_activationStrength ); |
| 3553 | } |
| 3554 | auto displayChildren = DisplayChildren(); |
| 3555 | } |
| 3556 | |
| 3557 | // -------------------------------------------------------------------------------- |
| 3558 | bool EveSpaceObject2::IsPickable() const |
nothing calls this directly
no test coverage detected