diff options
author | Jeff Ames | 2008-01-26 10:34:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-01-26 10:34:49 +0000 |
commit | 20215c3d30fb55bf232bff1b3d6652d82e00b798 (patch) | |
tree | 19fce94014cafb1a235b3874b7bde8bc92767415 /bin/assets/ScriptsAssetSet/llSetRot.lsl | |
parent | Removed ScriptServer.csproj from svn. (diff) | |
download | opensim-SC_OLD-20215c3d30fb55bf232bff1b3d6652d82e00b798.zip opensim-SC_OLD-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.gz opensim-SC_OLD-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.bz2 opensim-SC_OLD-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.xz |
Rewrote svn properties handling script in python. Added more file types.
Diffstat (limited to 'bin/assets/ScriptsAssetSet/llSetRot.lsl')
-rw-r--r-- | bin/assets/ScriptsAssetSet/llSetRot.lsl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/bin/assets/ScriptsAssetSet/llSetRot.lsl b/bin/assets/ScriptsAssetSet/llSetRot.lsl index ce3009c..ebdad2f 100644 --- a/bin/assets/ScriptsAssetSet/llSetRot.lsl +++ b/bin/assets/ScriptsAssetSet/llSetRot.lsl | |||
@@ -1,13 +1,13 @@ | |||
1 | default | 1 | default |
2 | { | 2 | { |
3 | state_entry() | 3 | state_entry() |
4 | { | 4 | { |
5 | llOwnerSay("Touch me"); | 5 | llOwnerSay("Touch me"); |
6 | } | 6 | } |
7 | touch_start(integer total_number) | 7 | touch_start(integer total_number) |
8 | { | 8 | { |
9 | rotation Y_10 = llEuler2Rot( < 0, 0, 30 * DEG_TO_RAD > ); | 9 | rotation Y_10 = llEuler2Rot( < 0, 0, 30 * DEG_TO_RAD > ); |
10 | rotation newRotation = llGetRot() * Y_10; | 10 | rotation newRotation = llGetRot() * Y_10; |
11 | llSetRot( newRotation ); | 11 | llSetRot( newRotation ); |
12 | } | 12 | } |
13 | } | 13 | } |