mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
add LSL llLinear2sRGB and llsRGB2Linear
This commit is contained in:
@@ -2682,5 +2682,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
{
|
||||
m_LSL_Functions.llLinkSetSoundRadius(linknumber, radius);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public LSL_Vector llLinear2sRGB(LSL_Vector src)
|
||||
{
|
||||
return m_LSL_Functions.llLinear2sRGB(src);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public LSL_Vector llsRGB2Linear(LSL_Vector src)
|
||||
{
|
||||
return m_LSL_Functions.llsRGB2Linear(src);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user