Jump to content

Box the compass: Difference between revisions

Change the pseudocode from '0..33 inclusive' to '0..32 inclusive'. Prevents an extra angle at 371.25 degrees. The existing Python and vb.NET code already uses 0..32 inclusive.
mNo edit summary
(Change the pseudocode from '0..33 inclusive' to '0..32 inclusive'. Prevents an extra angle at 371.25 degrees. The existing Python and vb.NET code already uses 0..32 inclusive.)
Line 13:
'''Note'''
* The headings and indices can be calculated from this pseudocode:
<pre>for i in 0..3332 inclusive:
heading = i * 11.25
case i %3:
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.