Difference between revisions of "Template:LSL Function/position"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{#if:
{{#if:


{{#ifeq:{{{1|}}}|point|
TODO: add clamping flag and verbiage for out of region/range coordinates.
  {{#if:{{{region|}}}|
 
    {{#vardefine:p_{{{1|}}}_desc|A point in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which {{String|owns}} the object.|region-local}} space}}
 
    {{#vardefine:p_{{{1|}}}_hover|A point in region-local space}}


  }}
|
   {{#if:{{{region|}}}|
   {{#if:{{{region|}}}|
     {{#if:{{{local|}}}|
     {{#if:{{{local|}}}|
Line 18: Line 11:


     |
     |
       {{#vardefine:p_{{{1|}}}_desc|position in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which {{String|owns}} the object.|region coordinates}}}}
       {{#ifeq:{{{1|}}}|point|
 
        {{#vardefine:p_{{{1|}}}_desc|A point in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which {{String|owns}} the object.|region-local}} space}}
 
        {{#vardefine:p_{{{1|}}}_hover|A point in region-local space}}
 
      |
 
        {{#vardefine:p_{{{1|}}}_desc|position in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which {{String|owns}} the object.|region coordinates}}}}


      {{#vardefine:p_{{{1|}}}_hover|position in region coordinates}}
        {{#vardefine:p_{{{1|}}}_hover|position in region coordinates}}


      }}
     }}
     }}
   |
   |

Revision as of 09:38, 15 May 2012


}}