Difference between revisions of "Template:Direction"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 10: Line 10:
 
<tr>
 
<tr>
 
<td>West</td>
 
<td>West</td>
{{#if:{{{deg|}}}|<td> 360&deg; </td>}}
+
{{#if:{{{deg|}}}|<td> 90&deg; </td>}}
 
{{#if:{{{rad|}}}|<td> &pi;/2 &#8776; {{#expr: pi / 2 round 2 }} </td>}}</tr>
 
{{#if:{{{rad|}}}|<td> &pi;/2 &#8776; {{#expr: pi / 2 round 2 }} </td>}}</tr>
 
<tr>
 
<tr>

Revision as of 02:07, 4 February 2011

Degrees only:

{{direction|deg=1}}
Compass Degrees
North
West 90°
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 90° π/2 ≈ 1.57
South 180° π ≈ 3.14
East 270° 3π/2 ≈ 4.71