This is the documentation for Enlighten.
class Geo SHCoeff
class Geo::SHCoeff
SH Helper class.
Functions
Name | Description |
|---|---|
Accumulates the given coefficients into this object. | |
Accumulates the coefficient with the given index. | |
Gets the coefficient with the given index. | |
Gets the coefficient with the given index from the three given SHCoeffs, and packs them into the x,y,z channels of a v128. | |
Logging. | |
Logging. | |
Fills in the given matrix with L2 values. | |
Scales the coefficients by the given amount. | |
Accumulates the given SHCoeff coefficients into this object. | |
Resets all coefficients to zero. | |
Copies the given coefficients into this object. | |
Sets the coefficient with the given index. | |
Constructors. | |
Constructors. | |
Constructors. |
void Geo::SHCoeff::Add
public: void Add
(
const float * values,
Geo::s32 numValues,
float multiplier
)
Accumulates the given coefficients into this object.
bool Geo::SHCoeff::AddL
public: bool AddL
(
Geo::s32 idx,
float c
)
Accumulates the coefficient with the given index.
float Geo::SHCoeff::GetL
public: float GetL
(
Geo::s32 idx
) const