diff options
author | Hans Goudey <h.goudey@me.com> | 2022-06-04 17:30:30 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-06-04 17:30:57 +0300 |
commit | a5190dce9d08a4fdaddf82d592e50083e0713e19 (patch) | |
tree | 8f878dccb30b2ff3fea901b91d3a2f282e00201e /tests | |
parent | 23f8fc38d91012c68491f82a42b362eaca0cbfad (diff) |
Mesh: Only check dirty normals flag of current domain
The code that checked whether vertex normals needed to be recalculated
was checking the dirty tag for face normals and vertex normals, in an
attempt at increased safety. However, those tags are always set
together anyway. Only checking the vertex dirty tag allows potentially
allocating or updating the normals on the two domains independently,
which could allow further skipping of calculations in some cases.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions