| 4184 | } |
| 4185 | |
| 4186 | static inline FetchTextureSetAnimResult FetchTextureSetAnim(HScene scene, InternalNode* n, dmhash_t anim) |
| 4187 | { |
| 4188 | FetchTextureSetAnimCallback fetch_anim_callback = scene->m_FetchTextureSetAnimCallback; |
| 4189 | if(fetch_anim_callback == 0x0) |
| 4190 | { |
| 4191 | dmLogError("PlayNodeFlipbookAnim called with node in scene with no FetchTextureSetAnimCallback set."); |
| 4192 | return FETCH_ANIMATION_CALLBACK_ERROR; |
| 4193 | } |
| 4194 | return fetch_anim_callback(n->m_Node.m_Texture, anim, &n->m_Node.m_TextureSetAnimDesc); |
| 4195 | } |
| 4196 | |
| 4197 | static inline void UpdateTextureSetAnimData(HScene scene, InternalNode* n) |
| 4198 | { |
no outgoing calls
no test coverage detected