mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
For improved type safety and to follow code style guidelines, this is a largely automated conversion of code in source/ and intern/cycles/blender. * Use const_cast and static_cast where possible and reintepret_cast if not. * For arithmetic and enumeration types, use functional notation. * Prefer blender::id_cast where possible. This required some small code tweaks to avoid doing this cast before the ID type has been checked. There are probably a few more like this lurking that will trigger asserts but not affect release builds. * Change Object.data to be ID* rather than void* to take more advantage of id_cast checks. Not all casts where converted, only the ones that were easy to automate. Various modules in intern/ would also benefit but are not handled as part of this. Pull Request: https://projects.blender.org/blender/blender/pulls/152327 |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| mikk_atomic_hash_set.hh | ||
| mikk_float3.hh | ||
| mikk_util.hh | ||
| mikktspace.hh | ||
| README.md | ||
MikkTSpace
A common standard for tangent space used in baking tools to produce normal maps.
More information can be found at http://www.mikktspace.com/.