Spherical harmonics color coefficients, 3 bands. Use Vector3 instead of Color to save memory.
More...
#include <Urho3D/Math/SphericalHarmonics.h>
|
| SphericalHarmonicsColor9 ()=default |
| Construct default.
|
|
| SphericalHarmonicsColor9 (const Vector3 &color) |
| Construct SH9 coefficients from given color.
|
|
| SphericalHarmonicsColor9 (const Color &color) |
| Construct SH9 coefficients from given color.
|
|
| SphericalHarmonicsColor9 (const Vector3 &dir, const Vector3 &color) |
| Construct SH9 coefficients from given normalized direction and color.
|
|
| SphericalHarmonicsColor9 (const Vector3 &dir, const Color &color) |
| Construct SH9 coefficients from given normalized direction and color.
|
|
Vector3 | Evaluate (const Vector3 &dir) const |
| Evaluate at given direction.
|
|
Vector3 | EvaluateAverage () const |
| Evaluate average.
|
|
SphericalHarmonicsColor9 & | operator+= (const SphericalHarmonicsColor9 &rhs) |
| Accumulate spherical harmonics (inplace).
|
|
SphericalHarmonicsColor9 & | operator*= (float rhs) |
| Scale spherical harmonics (inplace).
|
|
SphericalHarmonicsColor9 | operator* (float rhs) const |
| Scale spherical harmonics.
|
|
|
Vector3 | values_ [9] {} |
| Coefficients.
|
|
Spherical harmonics color coefficients, 3 bands. Use Vector3 instead of Color to save memory.
The documentation for this struct was generated from the following files:
- Urho3D/Math/SphericalHarmonics.h
- Urho3D/Math/SphericalHarmonics.cpp