oops it is sRGB not linear, so rename to osTemperature2sRGB

This commit is contained in:
UbitUmarov
2024-06-04 09:46:11 +01:00
parent 1d9d39328d
commit ecdc979687
3 changed files with 4 additions and 4 deletions

View File

@@ -6590,7 +6590,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return LSL_Vector.Zero;
}
public LSL_Vector osTemperatureToLinearColor(LSL_Float dtemp)
public LSL_Vector osTemperature2sRGB(LSL_Float dtemp)
{
float temp = (float)dtemp.value;
if (temp <= 1000f)