mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
oops it is sRGB not linear, so rename to osTemperature2sRGB
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user