Hans Goudey
72347f11fe
Cleanup: Use float3, Span, Array for vertex positions
2024-03-28 18:28:35 -04:00
Hans Goudey
3805974b6f
Refactor: Use C++ array for edit mesh looptris
...
Pull Request: https://projects.blender.org/blender/blender/pulls/119829
2024-03-23 17:43:38 +01:00
Hans Goudey
3ce8c74a57
Cleanup: Fix outdated comments about Mesh data
2024-03-23 11:47:07 -04:00
Hans Goudey
c61ecf1f40
Cleanup: Move Mesh edit_mesh pointer to runtime data
...
The edit mesh is never saved to files, so it should be in the runtime struct.
Pull Request: https://projects.blender.org/blender/blender/pulls/119766
2024-03-21 23:18:49 +01:00
Campbell Barton
944e0483a6
Cleanup: clarify naming for MLoopTri
...
The term `looptri` was used ambiguously for both single & arrays.
The term `tri` was also used, causing `tri->tri`.
Use terms:
- `looptris` for an array or when dealing with multiple items.
- `looptri` is used when dealing with a single item.
- `lt` for a single MLoopTri variables & arguments.
This was already a convention but not followed closely.
2023-12-14 12:32:11 +11:00
Hans Goudey
7a96c4672c
Cleanup: Move BMesh headers to C++
...
Pull Request: https://projects.blender.org/blender/blender/pulls/115817
2023-12-05 23:01:12 +01:00
Hans Goudey
86cb5307ea
Cleanup: Remove unnecessary references to BoundBox
...
Ongoing refactoring #96968 is working to reduce usage of this struct.
2023-11-19 17:31:20 -05:00
Hans Goudey
807c076e28
Cleanup: Remove unused edit mesh cage bounding box cache
...
Unused after ffaf3e30ef
.
These days there are better ways to cache bounds anyway.
2023-11-16 16:28:06 +01:00
Hans Goudey
f27aee857b
Cleanup: Remove unnecessary keywords from newly C++ headers
2023-11-16 12:00:26 +01:00
Hans Goudey
3d57bc4397
Cleanup: Move several blenkernel headers to C++
...
Mostly focus on areas where we're already using C++ features,
where combining C and C++ APIs is getting in the way.
Pull Request: https://projects.blender.org/blender/blender/pulls/114972
2023-11-16 11:41:55 +01:00