| 56 | namespace |
| 57 | { |
| 58 | bool IsUsingCMF( TriGeometryRes* geometryResource ) |
| 59 | { |
| 60 | // The only reason the null pointer check is here, is to be able to call IsUsingCMF. |
| 61 | // Do not rely on this function to test for geometryResource's existance in other places! |
| 62 | // This function will be removed in the future, alongside all granny code. |
| 63 | return !geometryResource || !geometryResource->IsGood() || geometryResource->IsUsingCMF(); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 |
no test coverage detected