Commit graph

19 commits

Author SHA1 Message Date
Simon Bruder 65d7ce6e73
u02: Implement sweep line tool 2023-05-09 22:59:38 +02:00
Simon Bruder a935e0fd22
u02/tests: Lower target precision for barycentric coordinates 2023-05-09 22:59:38 +02:00
Simon Bruder e720dc6ebc
u02: Test edge case for barycentric coordinates 2023-05-09 22:59:38 +02:00
Simon Bruder 2532925813
u02: Extract slope function 2023-05-09 22:59:38 +02:00
Simon Bruder b4dcb52bde
u02: Implement sorting for 3 points 2023-05-09 22:59:38 +02:00
Simon Bruder 24adbcfbea
u02: Implement barycentric coordinates 2023-05-09 22:59:38 +02:00
Simon Bruder 3b2c1169f7
u02/tests: Add link to desmos for circle 2023-05-09 22:59:38 +02:00
Simon Bruder e9ee860f60
u02: Implement bresenham circle tool 2023-05-09 22:59:37 +02:00
Simon Bruder c1dd7425fe
u02/tests: Use const where possible 2023-05-09 22:59:37 +02:00
Simon Bruder 4264e3d3a2
u02: Implement rectangle tool 2023-05-09 22:59:37 +02:00
Simon Bruder c34bb8684c
u02: Replace fill test to use test shape 2023-05-09 22:59:37 +02:00
Simon Bruder 79729c8295
u02: Add property test for equality of fill tools 2023-05-09 22:59:37 +02:00
Simon Bruder 976559d802
u02: Implement non recursive fill tool 2023-05-09 22:59:37 +02:00
Simon Bruder dfb4d654e1
u02: Implement recursive fill tool 2023-05-09 22:59:37 +02:00
Simon Bruder c3e32a441b
u02: Implement bresenham line tool 2023-05-09 22:59:37 +02:00
Simon Bruder 5855868b66
u02: Improve test performance 2023-05-09 22:59:37 +02:00
Simon Bruder bbee4a5d01
u02: Implement DDA line tool 2023-05-09 22:59:37 +02:00
Simon Bruder 8a9b77fe58
u02: Implement transformation to standard case 2023-05-09 22:59:37 +02:00
Simon Bruder ac8f084b45
u02: Implement transformation functions 2023-05-09 22:59:36 +02:00