[Freeciv-Dev] Re: (PR#3936) introducing native coordinates
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|