This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender
Campbell Barton d885b1141c DRW: optimize mesh data extraction
Change extraction callbacks to take index ranges instead of calling them
for each mesh element (poly, loop, vert & edge).

This gives a minor overall performance gain in my tests, ~5% on average.

Details:

- Use typed parameter structs and macros for looping over elements.
  Without this, changes to these callbacks is time consuming as changes
  need to be made in many places.
- Avoid iterating over polygon-loops when iterating over polygons
  is sufficient.
- Simplify logic to access adjacent loops for faster line extraction.
- Rename 'loop' iterators to 'poly' (as they take polygon ranges)
  the iterator callbacks can operator on either polygon or loop data.
- Use term 'last' for the last index (inclusive),
  use 'end' when this value (not inclusive).
2020-07-01 14:56:39 +10:00
..
2020-07-01 13:12:24 +10:00
2020-07-01 13:12:24 +10:00
2020-07-01 13:12:24 +10:00
2020-03-19 21:55:17 +01:00
2020-07-01 14:56:39 +10:00
2020-07-01 13:12:24 +10:00
2020-06-25 23:14:36 +10:00
2020-07-01 13:12:24 +10:00
2020-07-01 13:12:24 +10:00
2020-07-01 13:12:24 +10:00
2020-06-27 13:48:18 +10:00
2020-06-26 13:24:53 -04:00
2020-07-01 13:12:24 +10:00