Merge branch 'opensim:master' into master

This commit is contained in:
Adil El Farissi
2024-06-13 22:21:39 +00:00
committed by GitHub
25 changed files with 377 additions and 135 deletions

View File

@@ -6629,6 +6629,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_Vector osTemperature2sRGB(LSL_Float dtemp)
{
//aproximate fit to http://www.vendian.org/mncharity/dir3/blackbody/ 10degree D65 tables
float temp = (float)dtemp.value;
if (temp <= 1000f)
return new LSL_Vector(1.0, 0.0401, 0);