mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-17 12:03:34 +00:00
CLight: Correct lack of assignment in SetSpotCutoff()
Brought this up with Antidote and was told that this is likely what was intended to be done.
This commit is contained in:
parent
9e3018809f
commit
e962d9ba96
@ -126,7 +126,7 @@ void CLight::SetColor(const CColor& rkColor)
|
||||
void CLight::SetSpotCutoff(float Cutoff)
|
||||
{
|
||||
mSpotCutoff = Cutoff * 0.5f;
|
||||
CalculateSpotAngleAtten();
|
||||
mAngleAttenCoefficients = CalculateSpotAngleAtten();
|
||||
}
|
||||
|
||||
void CLight::SetDistAtten(float DistCoefA, float DistCoefB, float DistCoefC)
|
||||
|
Loading…
x
Reference in New Issue
Block a user