Calculator Community > Axe

Routines

<< < (3/125) > >>

DJ Omnimaga:
Wasn't decimal support going to arrive in future versions of Axe? I remember Quigibo telling me on Yahoo that some variables would be reserved for integers while some others would be reserved for floating points...

Eeems:
hmm, I don't know, but that would be nice, as of currently it doesn't allow for it.

Quigibo:
Check this out:

http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm

Its probably what I'll be using, it only requires addition and bit-shifting, no floats.

Eeems:
Sweet! I'll try and make a routine that can work for now until it's integrated.

Galandros:

--- Quote from: Quigibo on February 20, 2010, 12:26:26 am ---Check this out:

http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm

Its probably what I'll be using, it only requires addition and bit-shifting, no floats.

--- End quote ---
There are already two excellent implementations in z80 of that algorithm by James Montelongo and quarnos.
To download the James Montelongo one see his ticalc profile. For quarnos see MaxCoderz forum.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version