Difference between revisions of "Template:Direction"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 21: Line 21:
 
</table></includeonly><noinclude>
 
</table></includeonly><noinclude>
 
Degrees only:
 
Degrees only:
 +
<pre>{{direction|deg=1}}</pre>
 
{{direction|deg=1}}
 
{{direction|deg=1}}
 
Radians only:
 
Radians only:
 +
<pre>{{direction|rad=1}}</pre>
 
{{direction|rad=1}}
 
{{direction|rad=1}}
 
Both:
 
Both:
 +
<pre>{{direction|deg=1|rad=1}}</pre>
 
{{direction|deg=1|rad=1}}
 
{{direction|deg=1|rad=1}}
 
</noinclude>
 
</noinclude>

Revision as of 04:29, 3 February 2011

Degrees only:

{{direction|deg=1}}
Compass Degrees
North
West 360°
South 180°
East 270°

Radians only:

{{direction|rad=1}}
Compass Radians
North 0
West π/2 ≈ 1.57
South π ≈ 3.14
East 3π/2 ≈ 4.71

Both:

{{direction|deg=1|rad=1}}
Compass Degrees Radians
North 0
West 360° π/2 ≈ 1.57
South 180° π ≈ 3.14
East 270° 3π/2 ≈ 4.71