Commit graph

6 commits

Author SHA1 Message Date
hugova
ecc138f2bc Redused number of instructions but to small a diffrence to messure with current test 2025-03-06 00:59:29 +01:00
hugova
9694d8d55b Redused paint_pixel to 1 call in draw line 2025-03-05 22:42:00 +01:00
hugova
76f29f6b81 Performance improvment in test by 0.1s. Mady by better arithmatic for *40 in draw_pixel and fast_unsafe parameter for most macros 2025-03-05 21:02:54 +01:00
hugova
4f396fd740 A fix to a bug, to make line_down draw lines with small slopes.
I needed to use 16bit logic to ashive this.
Also moved out dx*2, dy*2 calculation outside of loop for better performance.
2025-03-01 23:57:15 +01:00
hugova
9c86b570ed Will make the indenting better. Also it will properly use dubble ; for comment blocks 2025-02-28 18:22:07 +01:00
hugova
864b0e659b Add hugo code 2025-02-27 22:04:43 +01:00