mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-18 04:23:29 +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)
|
void CLight::SetSpotCutoff(float Cutoff)
|
||||||
{
|
{
|
||||||
mSpotCutoff = Cutoff * 0.5f;
|
mSpotCutoff = Cutoff * 0.5f;
|
||||||
CalculateSpotAngleAtten();
|
mAngleAttenCoefficients = CalculateSpotAngleAtten();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CLight::SetDistAtten(float DistCoefA, float DistCoefB, float DistCoefC)
|
void CLight::SetDistAtten(float DistCoefA, float DistCoefB, float DistCoefC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user