Y
Hacker News
new
|
ask
|
show
|
jobs
by
Sharlin
1412 days ago
Consider linear coordinates, that's how the memory is laid out after all ;) It should be easy to see, for example, that coordinate delta 96020 corresponds to 50 pixels down, 20 right on 1920pix horizontal resolution.
1 comments
wruza
1412 days ago
Real men add stride up to 2048 and think in hex:
0x0001 (1,0) 0x0802 (2,1) 0x2803 (3,5)
link