Spherical harmonics scalar coefficients, 3 bands.
More...
#include <Urho3D/Math/SphericalHarmonics.h>
|
| SphericalHarmonics9 ()=default |
| Construct default.
|
|
| SphericalHarmonics9 (const Vector3 &dir) |
| Construct SH9 coefficients from given normalized direction.
|
|
|
float | values_ [9] {} |
| Coefficients.
|
|
Spherical harmonics scalar coefficients, 3 bands.
◆ cosines
constexpr float Urho3D::SphericalHarmonics9::cosines[9] |
|
staticconstexpr |
Initial value:=
{
1.0f,
2.0f / 3.0f,
2.0f / 3.0f,
2.0f / 3.0f,
0.25f,
0.25f,
0.25f,
0.25f,
0.25f
}
Array of cosines.
◆ factors
constexpr float Urho3D::SphericalHarmonics9::factors[9] |
|
staticconstexpr |
Initial value:=
{
0.282095f,
0.488603f,
0.488603f,
0.488603f,
1.092548f,
1.092548f,
0.315392f,
1.092548f,
0.546274f
}
Array of factors.
The documentation for this struct was generated from the following files:
- Urho3D/Math/SphericalHarmonics.h
- Urho3D/Math/SphericalHarmonics.cpp