diff options
author | William Deurwaarder <william.git@xs4all.nl> | 2021-09-11 14:02:37 +0200 |
---|---|---|
committer | William Deurwaarder <william.git@xs4all.nl> | 2021-09-11 14:02:37 +0200 |
commit | e11dd6500a50c47e4f2d7c19813d4ba5c5533235 (patch) | |
tree | f3c792cd6d86a98d86a91e9947a2d1424a4317d7 /modules/bullet | |
parent | 43e96e0c652cd2ed41a1b9dfb7989ff272607a88 (diff) |
GPULightmapper's triangles and their bounding box will be in-sync
Previously the bounding boxes and triangles were maintained in two separate
arrays (Vectors). As the triangle vector was sorted and the bounding-box array
was not , the order of both arrays differed. This meant that the index in one
was different than the other, which caused lookup issues.
To prevent this, the bounding-box is now part of the triangle structure so that
there is a single structure that cannot become out-of-sync anymore.
Diffstat (limited to 'modules/bullet')
0 files changed, 0 insertions, 0 deletions