diff options
author | UbitUmarov | 2017-06-24 23:04:37 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-24 23:04:37 +0100 |
commit | cb8975e56729c6fd077a69df3a7fa06cba285f82 (patch) | |
tree | bbc1cbd582f9d4ac27eba3ffa7f5cc46c70e4b5f /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |
parent | add dyn textures vectorrender comands ''ResetTransf;'', ''TransTransf x,y;'' ... (diff) | |
download | opensim-SC-cb8975e56729c6fd077a69df3a7fa06cba285f82.zip opensim-SC-cb8975e56729c6fd077a69df3a7fa06cba285f82.tar.gz opensim-SC-cb8975e56729c6fd077a69df3a7fa06cba285f82.tar.bz2 opensim-SC-cb8975e56729c6fd077a69df3a7fa06cba285f82.tar.xz |
add string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y), string osDrawRotationTransform(string drawList, LSL_Float x) and string osDrawResetTransform(string drawList) helper functions for the new vector renderer comands. Removed ThreadLevel check of similar funtions that had it None, and actually only set strings
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 9bc3159..4b1f6d3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -386,6 +386,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
386 | return m_OSSL_Functions.osDrawFilledPolygon(drawList, x, y); | 386 | return m_OSSL_Functions.osDrawFilledPolygon(drawList, x, y); |
387 | } | 387 | } |
388 | 388 | ||
389 | public string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y) | ||
390 | { | ||
391 | return m_OSSL_Functions.osDrawTranslationTransform(drawList, x, y); | ||
392 | } | ||
393 | |||
394 | public string osDrawRotationTransform(string drawList, LSL_Float x) | ||
395 | { | ||
396 | return m_OSSL_Functions.osDrawRotationTransform(drawList, x); | ||
397 | } | ||
398 | |||
399 | public string osDrawResetTransform(string drawList) | ||
400 | { | ||
401 | return m_OSSL_Functions.osDrawResetTransform(drawList); | ||
402 | } | ||
403 | |||
389 | public string osSetFontSize(string drawList, int fontSize) | 404 | public string osSetFontSize(string drawList, int fontSize) |
390 | { | 405 | { |
391 | return m_OSSL_Functions.osSetFontSize(drawList, fontSize); | 406 | return m_OSSL_Functions.osSetFontSize(drawList, fontSize); |