Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions indra/newview/app_settings/types_lua_default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,35 @@
<key>comment</key>
<string>Creates a vector from a string argument in format `&lt;1,1,1&gt;` Invalid strings will return `nil` #### Caveat Due to an old error from lsl strings that match upto the closing `&gt;` are interpreted as valid So `&lt;1,1,1`, `&lt;1,1,1,1` and `&lt;1,1,1spoon` are all cast to `&lt;1,1,1&gt;` When testing if a string is a quaternion or a vector, you should test with `toquaternion` first.</string>
</map>
<map>
<key>name</key>
<string>vector</string>
<key>parameters</key>
<array>
<map>
<key>name</key>
<string>x</string>
<key>type</key>
<string>number</string>
</map>
<map>
<key>name</key>
<string>y</string>
<key>type</key>
<string>number</string>
</map>
<map>
<key>name</key>
<string>z</string>
<key>type</key>
<string>number</string>
</map>
</array>
<key>returnType</key>
<string>vector</string>
<key>comment</key>
<string>Creates a vector from x,y,z</string>
</map>
<map>
<key>name</key>
<string>quaternion</string>
Expand Down