Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::Lightmapper::CSH9 Class Reference

Public Member Functions

 CSH9 (const core::vector3df *sh)
 CSH9 (const CSH9 &sh)
void zero ()
core::vector3df * getValue ()
const core::vector3df * getValueConst () const
void copyTo (core::vector3df *to)
CSH9 operator- () const
CSH9 & operator= (const CSH9 &other)
CSH9 operator+ (const CSH9 &other) const
CSH9 & operator+= (const CSH9 &other)
CSH9 operator- (const CSH9 &other) const
CSH9 & operator-= (const CSH9 &other)
CSH9 operator* (const CSH9 &other) const
CSH9 & operator*= (const CSH9 &other)
CSH9 operator* (const float v) const
CSH9 & operator*= (const float v)
CSH9 operator/ (const CSH9 &other) const
CSH9 & operator/= (const CSH9 &other)
CSH9 operator/ (const float v) const
CSH9 & operator/= (const float v)
core::vector3df dotProduct (const CSH9 &other)
void projectOntoSH (const core::vector3df &n, const core::vector3df &color, float A0=1.0f, float A1=1.0f, float A2=1.0f)
void projectAddOntoSH (const core::vector3df &n, const core::vector3df &color, float A0=1.0f, float A1=1.0f, float A2=1.0f)
void getSH (const core::vector3df &n, core::vector3df &color)
void getSHIrradiance (const core::vector3df &n, core::vector3df &color)
void getSH4Irradiance (const core::vector3df &n, core::vector3df &color)
void convolveWithCosineKernel ()

Protected Attributes

core::vector3df m_sh [9]

The documentation for this class was generated from the following file: