mirror of https://github.com/godotengine/godot
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. |
||
|---|---|---|
| .. | ||
| SCsub | ||
| config.py | ||
| lightmapper_rd.cpp | ||
| lightmapper_rd.h | ||
| lm_blendseams.glsl | ||
| lm_common_inc.glsl | ||
| lm_compute.glsl | ||
| lm_raster.glsl | ||
| register_types.cpp | ||
| register_types.h | ||