| 1043 | } |
| 1044 | |
| 1045 | Matrix EveSpaceObject2::GetEveLocatorTransform( const char* name ) const |
| 1046 | { |
| 1047 | EveLocator2* locator = nullptr; |
| 1048 | for( auto it = begin( m_locators ); it != end( m_locators ); ++it ) |
| 1049 | { |
| 1050 | if( strcmp( ( *it )->GetName(), name ) == 0 ) |
| 1051 | { |
| 1052 | locator = *it; |
| 1053 | break; |
| 1054 | } |
| 1055 | } |
| 1056 | |
| 1057 | if( !locator ) |
| 1058 | { |
| 1059 | return IdentityMatrix(); |
| 1060 | } |
| 1061 | |
| 1062 | if( m_animationUpdater ) |
| 1063 | { |
| 1064 | Matrix result; |
| 1065 | if( m_animationUpdater->GetBoneWorldTransform( locator->GetName(), result ) ) |
| 1066 | { |
| 1067 | return result; |
| 1068 | } |
| 1069 | } |
| 1070 | |
| 1071 | return locator->GetTransform(); |
| 1072 | } |
| 1073 | |
| 1074 | bool EveSpaceObject2::HasTransparentBatches() |
| 1075 | { |
nothing calls this directly
no test coverage detected