diff options
author | UbitUmarov | 2017-06-25 02:26:36 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-25 02:26:36 +0100 |
commit | 84abdf866a26401e48eff5b25a1ec7f7bf19dc3c (patch) | |
tree | 0bf4ec9b2670d9258b2df087e018ebe91c505e6d /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | add vectorrender string command ''ScaleTransf x,y;''. this allows scaling of ... (diff) | |
download | opensim-SC_OLD-84abdf866a26401e48eff5b25a1ec7f7bf19dc3c.zip opensim-SC_OLD-84abdf866a26401e48eff5b25a1ec7f7bf19dc3c.tar.gz opensim-SC_OLD-84abdf866a26401e48eff5b25a1ec7f7bf19dc3c.tar.bz2 opensim-SC_OLD-84abdf866a26401e48eff5b25a1ec7f7bf19dc3c.tar.xz |
add respective ossl helper funtion osDrawScaleTransform(string drawList, LSL_Float x, LSL_Float y)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 4b1f6d3..d6af32b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -386,9 +386,9 @@ 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) | 389 | public string osDrawResetTransform(string drawList) |
390 | { | 390 | { |
391 | return m_OSSL_Functions.osDrawTranslationTransform(drawList, x, y); | 391 | return m_OSSL_Functions.osDrawResetTransform(drawList); |
392 | } | 392 | } |
393 | 393 | ||
394 | public string osDrawRotationTransform(string drawList, LSL_Float x) | 394 | public string osDrawRotationTransform(string drawList, LSL_Float x) |
@@ -396,9 +396,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
396 | return m_OSSL_Functions.osDrawRotationTransform(drawList, x); | 396 | return m_OSSL_Functions.osDrawRotationTransform(drawList, x); |
397 | } | 397 | } |
398 | 398 | ||
399 | public string osDrawResetTransform(string drawList) | 399 | public string osDrawScaleTransform(string drawList, LSL_Float x, LSL_Float y) |
400 | { | 400 | { |
401 | return m_OSSL_Functions.osDrawResetTransform(drawList); | 401 | return m_OSSL_Functions.osDrawScaleTransform(drawList, x, y); |
402 | } | ||
403 | |||
404 | public string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y) | ||
405 | { | ||
406 | return m_OSSL_Functions.osDrawTranslationTransform(drawList, x, y); | ||
402 | } | 407 | } |
403 | 408 | ||
404 | public string osSetFontSize(string drawList, int fontSize) | 409 | public string osSetFontSize(string drawList, int fontSize) |