Difference between revisions of "Template:LSLFunction"
Jump to navigation
Jump to search
Line 39: | Line 39: | ||
== Example == | == Example == | ||
{{ | <code><nowiki>{{LslFunction|llSin|0|0.0|10.0|r=float|p1=theta|p1t=float|p1d=Angle in radians}}</nowiki></code> | ||
{{ | |||
{{ | {{LslFunction|llSin|0|0.0|10.0|r=float|p1=theta|p1t=float|p1d=Angle in radians}} | ||
<code><nowiki>{{LslFunction|llPow|5|0.0|10.0|r=float|p1t=float|p1=base|p1d=?|p2t=float|p2=exponent|p2d=?}}</nowiki></code> | |||
{{LslFunction|llPow|5|0.0|10.0|r=float|p1t=float|p1=base|p1d=?|p2t=float|p2=exponent|p2d=?}} | |||
<code><nowiki>{{LslFunction|llRefreshPrimURL|306|20.0|10.0}}</nowiki></code> | |||
{{LslFunction|llRefreshPrimURL|306|20.0|10.0}} | |||
</noinclude> | </noinclude> |
Revision as of 15:07, 25 January 2007
This template is used to inline a table that displays the function specifications.
Usage
Example
{{LslFunction|llSin|0|0.0|10.0|r=float|p1=theta|p1t=float|p1d=Angle in radians}}
float llSin( float theta );
0 | Function ID |
0.0 | Sleep |
10.0 | Energy |
- theta - Angle in radians
{{LslFunction|llPow|5|0.0|10.0|r=float|p1t=float|p1=base|p1d=?|p2t=float|p2=exponent|p2d=?}}
float llPow( float base, float exponent );
5 | Function ID |
0.0 | Sleep |
10.0 | Energy |
- base - ?
- exponent - ?
{{LslFunction|llRefreshPrimURL|306|20.0|10.0}}
llRefreshPrimURL( );
306 | Function ID |
20.0 | Sleep |
10.0 | Energy |