Thread: ≈ Geomaker
View Single Post
Old 02.10.2005, 01:04   #15
vaskes
Архивный участник
 
Join Date: Feb 2005
Posts: 156
Default

okay okay, lazy boys here is the formula to translate a pisitive coords to two bytes negative

gndarray[m] := -(-colormap[k,i] + 256)*form1.Spinedit1.value + 65536;
wtrarray[m] := -(-colormap[k,i] + 256)*form1.Spinedit1.value + 65536-32;
vaskes is offline