Sjabloon:Geoshiftcode: verschil tussen versies

 
Regel 16: Regel 16:
 
n = {{#var:varN}}
 
n = {{#var:varN}}
 
-->
 
-->
{{#vardefine:varX|{{#expr: {{#var:varRad}} * sin( {{#var:varN}} * {{#var:varAng}} )}}}}
+
{{#vardefine:varX|{{#expr: {{#var:varRad}} * cos( {{#var:varN}} * {{#var:varAng}} )}}}}
{{#vardefine:varY|{{#expr: {{#var:varRad}} * cos( {{#var:varN}} * {{#var:varAng}} )}}}}
+
{{#vardefine:varY|{{#expr: {{#var:varRad}} * sin( {{#var:varN}} * {{#var:varAng}} )}}}}
 
<!--
 
<!--
 
x = {{#var:varX}} <br />
 
x = {{#var:varX}} <br />

Huidige versie van 20 nov 2016 om 23:17

This is the "Geoshiftcode" template. It should be called in the following format:

{{Geoshiftcode
|Location=
}}

Edit the page to see the template text.