| 235 | } |
| 236 | |
| 237 | void Mesh::transform( const AffineXf3f& xf, const VertBitSet* region ) |
| 238 | { |
| 239 | MR_TIMER; |
| 240 | |
| 241 | BitSetParallelFor( topology.getVertIds( region ), [&] ( const VertId v ) |
| 242 | { |
| 243 | points[v] = xf( points[v] ); |
| 244 | } ); |
| 245 | invalidateCaches(); |
| 246 | } |
| 247 | |
| 248 | VertId Mesh::addPoint( const Vector3f & pos ) |
| 249 | { |