View Single Post
Old 26 May 2011, 18:42   #4
dalton
tulou
dalton's Avatar
 
Join Date: Jun 2006
Location: Gothenburg / Sweden
Posts: 71
If you're on 020, you can use divu.l with 35469<<16 to get a 16.16 bit fixed point representation. That should be sufficient for 160 pixels.

If you're not on 020, perhaps Bresenham interpolation could be a solution.
dalton is offline  
 
Page generated in 0.07254 seconds with 11 queries