717c970297ad984bf64613be5dafb23e996faa20
The function `direction_to_<some projection model>` computes the inverse of `<some projection model>_to_direction`. Some of these functions had a bug where they mirror the x-axis, and some of them could be simplified. I added round-trip tests for all of them. This MR might change the behavior of the renderer when using equiangular_cubemap_face_to_direction: I normalized the result vector. I looked at the usages and I think it's normalized later anyways, but someone else should probably verify that this doesn't cause issues. Pull Request: https://projects.blender.org/blender/blender/pulls/123932
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
