| 991 | } |
| 992 | |
| 993 | static DecimateResult decimateMeshSerial( Mesh & mesh, const DecimateSettings & settings ) |
| 994 | { |
| 995 | MR_TIMER; |
| 996 | if ( settings.maxDeletedFaces <= 0 || settings.maxDeletedVertices <= 0 ) |
| 997 | { |
| 998 | DecimateResult res; |
| 999 | res.cancelled = false; |
| 1000 | return res; |
| 1001 | } |
| 1002 | MeshDecimator md( mesh, settings ); |
| 1003 | return md.run(); |
| 1004 | } |
| 1005 | |
| 1006 | FaceBitSet getSubdividePart( const FaceBitSet & valids, size_t subdivideParts, size_t myPart ) |
| 1007 | { |
no test coverage detected