Files
test/intern/cycles
Lukas Stockner 91a3039bb2 Cleanup: Cycles: Make BlenderCamera a class with proper initialization
Before, we'd just zero out the memory of the struct and then set the
defaults afterwards, but that:
- Prevents us from storing non-POD types
- Silently assumes that array<float> is safe to zero out (it currently
  is, but that is still ugly and risky)
- Bloats the code since every non-zero entry now needs two lines

So, just make use of C++11 here. All the default values that were
previously unset are taken from the Blender-side defaults.

Pull Request: https://projects.blender.org/blender/blender/pulls/130870
2024-12-06 20:40:24 +01:00
..
2024-11-04 11:34:05 +01:00
2024-09-24 14:35:24 +02:00
2024-07-25 10:17:42 +10:00