User contributions for 2601:600:C900:CB34:492B:41A0:682E:525A
Jump to navigation
Jump to search
24 July 2024
- 01:3001:30, 24 July 2024 diff hist +4,558 N Digital differential analyzer (graphics algorithm) →Program: The DDA algorithm requires rounding the floating point x,y to the nearest integer. The sample code should not depend on the behavior of some specific graphics library's putpixel() (for example if it takes int parameters, float->int uses truncation and will produce the wrong answer) current