| 340 | |
| 341 | |
| 342 | void MeshTransform::Tool::modifyVertex(fvec3& v) const { |
| 343 | if (empty) { |
| 344 | return; |
| 345 | } |
| 346 | |
| 347 | fvec3 t; |
| 348 | const fvec4* vm = vertexMatrix; |
| 349 | t.x = vm[0].planeDist(v); |
| 350 | t.y = vm[1].planeDist(v); |
| 351 | t.z = vm[2].planeDist(v); |
| 352 | v = t; |
| 353 | } |
| 354 | |
| 355 | |
| 356 | void MeshTransform::Tool::modifyNormal(fvec3& n) const { |
no test coverage detected