Cleanup: Mesh calculate edges file cleanup
commit3f3df16ba207142a5f046505105c9f124984b59f
authorIliya Katueshenock <modormoder@gmail.com>
Tue, 2 Apr 2024 20:48:58 +0000 (2 22:48 +0200)
committerHans Goudey <hooglyboogly@noreply.localhost>
Tue, 2 Apr 2024 20:48:58 +0000 (2 22:48 +0200)
tree4f9f82053ffc45593f867da019e5b4b22634bd3b
parent89d38cf008060db78dbd78f44f824115f6016180
Cleanup: Mesh calculate edges file cleanup

Trivial changes of code:
1. Const correctness.
2. Arguments order.
3. Use regular constructor instead of aggregate one.
4. Replace stateful iterators of corners by `bke::mesh` functions.
5. Offset Indices instead of manual prefix sum.
6. Slight changes of iterator names which is affected by cleanup.
7. Cpp allocator.
8. Explicit template parameter.

Pull Request: https://projects.blender.org/blender/blender/pulls/120189
source/blender/blenkernel/intern/mesh_calc_edges.cc