Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2003:
[Freeciv-Dev] Re: (PR#3936) introducing native coordinates
Home

[Freeciv-Dev] Re: (PR#3936) introducing native coordinates

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#3936) introducing native coordinates
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Apr 2003 10:26:58 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Jason Short wrote:
> Gregory Berkolaiko wrote:

>>2. Can you give the index notation along with "X" sketches?
>>I mean when you compare
>>
>>      X X X            X
>>       X X X    to    XXX
>>      X X X            XXX
>>                        XX
>>you wonder which X went to which X. But in 
>>      0 1 2            0
>>       3 4 5          631
>>      6 7 8            742
>>                        85
>>it is more clear (provided I got it right).
> 
> 
> OK.

Ugh.  Same patch - better grammar.

I also forgot to mention that after reviewing the math, the rotation 
from natural to map coordinates for an iso map is a -pi/4 rotation, not 
a pi/4 rotation.  I always forget which is which, but naturally it's 
important that the documentation be correct...


Also note that iso-view in the client will reverse this rotation.  A map 
whose natural representation is

  X X X
   X X X
  X X X

will be expressed in map coordinates as

    XX
   XXX
  XXX
   X

which will then be converted into canvas coordinates by the client as

  X X X
   X X X
  X X X

so that it looks really good.

jason




[Prev in Thread] Current Thread [Next in Thread]