blender/intern/mikktspace
Brecht Van Lommel 5cc33f3407 Refactor: Convert many C style casts to C++ style and id_cast
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
2026-01-06 19:53:20 +01:00
..
CMakeLists.txt CMake: Modernize the optional TBB dependency 2024-07-19 23:30:56 +02:00
mikk_atomic_hash_set.hh Refactor: Convert many C style casts to C++ style and id_cast 2026-01-06 19:53:20 +01:00
mikk_float3.hh Refactor: Convert many C style casts to C++ style and id_cast 2026-01-06 19:53:20 +01:00
mikk_util.hh Refactor: Convert many C style casts to C++ style and id_cast 2026-01-06 19:53:20 +01:00
mikktspace.hh Fix #139753: Discontinuity in mesh tangent without UV map 2025-06-09 13:52:00 +02:00
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/.