it took me ~5 mins to visualise scewed coordinate axes and derive the formulas. it took 'em ~30 seconds to write a loop (i guess). and their work is actually *better* than mine: they had 4.30 mins free, while i was doing useless things.
p.s.: like, i've seen one Fallout 2 recreatoin project where they're doing
translation of screen coords to hex coords not with two simple formulas,
but by looping over 40000 (200x200) hex objects (objects!), and calling
*virtual* method to ask if a hex contains such coords. and you know what?
*nobody* noticed any slowdown. 'cause there is none.
- Re: Makefile experts, unite! Jacob Carlborg via Digitalmars-d
- Re: Makefile experts, unite! Russel Winder via Digitalmars-d
- Re: Makefile experts, unite! H. S. Teoh via Digitalmars-d
- Re: Makefile experts, unite! ketmar via Digitalmars-d
- Re: Makefile experts, unit... H. S. Teoh via Digitalmars-d
- Re: Makefile experts, unit... ketmar via Digitalmars-d
- Re: Makefile experts, ... H. S. Teoh via Digitalmars-d
- Re: Makefile experts, ... Paolo Invernizzi via Digitalmars-d
- Re: Makefile experts, ... ketmar via Digitalmars-d
- Re: Makefile experts, unit... ketmar via Digitalmars-d
- Re: Makefile experts, unite! ketmar via Digitalmars-d
- Re: Makefile experts, unite! Jonathan Marler via Digitalmars-d