Simon Bruder
ed2af1a072
Add note on filtering
2023-05-09 23:25:05 +02:00
Simon Bruder
0fb02e2024
Add filtering script
2023-05-09 23:25:05 +02:00
Simon Bruder
ca0f1d4e1e
u02/util: Simplify conditions
2023-05-09 23:25:05 +02:00
Simon Bruder
8d8c3de73f
u02: Implement sweep line tool
2023-05-09 23:25:05 +02:00
Simon Bruder
088ec46226
u02/tests: Lower target precision for barycentric coordinates
2023-05-09 23:25:05 +02:00
Simon Bruder
3b871a2caf
u02: Test edge case for barycentric coordinates
2023-05-09 23:25:05 +02:00
Simon Bruder
c2a9ada979
u02: Extract slope function
2023-05-09 23:25:05 +02:00
Simon Bruder
034772ea63
u02: Implement sorting for 3 points
2023-05-09 23:25:05 +02:00
Simon Bruder
0690c3dc5b
u02: Implement barycentric coordinates
2023-05-09 23:25:05 +02:00
Simon Bruder
fa9a61ce73
u02/tool_base: Add draw with three points
2023-05-09 23:25:05 +02:00
Simon Bruder
1c66b87377
u02/tool_base: Add draw with no point
2023-05-09 23:25:05 +02:00
Simon Bruder
3000083db9
u02/tests: Add link to desmos for circle
2023-05-09 23:25:05 +02:00
Simon Bruder
15f0ddb379
u02: Implement bresenham circle tool
2023-05-09 23:25:05 +02:00
Simon Bruder
dc82014f5d
flake.{nix,lock}: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/cd749f58ba83f7155b7062dd49d08e5e47e44d50' (2023-04-17)
→ 'github:nixos/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06)
2023-05-09 23:25:05 +02:00
Simon Bruder
cc2fe216b5
u02/tests: Use const where possible
2023-05-09 23:25:05 +02:00
Simon Bruder
7329995358
u02: Implement rectangle tool
2023-05-09 23:25:05 +02:00
Simon Bruder
81026474ce
u02: Replace fill test to use test shape
2023-05-09 23:25:05 +02:00
Simon Bruder
b0ec6adb9d
u02: Add property test for equality of fill tools
2023-05-09 23:25:05 +02:00
Simon Bruder
1d3896d437
u02: Implement non recursive fill tool
2023-05-09 23:25:05 +02:00
Simon Bruder
3dcabb8da9
u02: Implement recursive fill tool
2023-05-09 23:25:05 +02:00
Simon Bruder
e3a81a7354
u02: Implement bresenham line tool
2023-05-09 23:25:04 +02:00
Simon Bruder
f7b3c276a3
u02: Improve test performance
2023-05-09 23:25:04 +02:00
Simon Bruder
b208531838
u02: Make DDA incremental
2023-05-09 23:25:04 +02:00
Simon Bruder
60cbffbf8a
u02: Implement DDA line tool
2023-05-09 23:25:04 +02:00
Simon Bruder
517aa9e276
u02: Implement transformation to standard case
2023-05-09 23:25:04 +02:00
Simon Bruder
c74c074624
u02: Implement transformation functions
2023-05-09 23:25:04 +02:00
Simon Bruder
282063b8b2
u02/CMake: Install built binary
2023-05-09 23:25:04 +02:00
Simon Bruder
e3a3509295
u02/CMake: Add vim modeline
2023-05-09 23:25:04 +02:00
Simon Bruder
d090df1297
u02: Convert latin1 to UTF-8
2023-05-09 23:25:04 +02:00
Simon Bruder
524f1046d0
u02: dos2unix
2023-05-09 23:25:04 +02:00
Simon Bruder
9d8cf220bb
u02: Format
2023-05-09 23:25:04 +02:00
Simon Bruder
cabee0416b
u02: Add skeleton
2023-05-09 23:25:04 +02:00
Simon Bruder
60a8abfe34
u01: Accept reference for node::set_name
...
This harmonizes the signatures of set_name and the constructor.
2023-05-09 23:25:04 +02:00
Simon Bruder
63431b6824
u01: Add test case for very short loop
...
This actually worked, but it is nice to have it verified nonetheless.
2023-05-09 23:25:04 +02:00
Simon Bruder
8a07422a51
u01: Fix typo in comment
2023-05-09 23:25:04 +02:00
Simon Bruder
9db38c33f5
u01: Don’t call make_pair explicitly
2023-05-09 23:25:04 +02:00
Simon Bruder
f7e5769f8d
u01: Fix type of children count in one case
2023-05-09 23:25:04 +02:00
Simon Bruder
5ce178b914
u01/tests: Fix typo
2023-05-09 23:25:04 +02:00
Simon Bruder
db4d489ae8
u01: Consistently use size_t and unsigned int
...
size_t should only be used for indexing. For all other purposes,
unsigned int should be used.
2023-05-09 23:25:04 +02:00
Simon Bruder
5c8784c9f4
Add note on compile_commands.json to readme
2023-05-09 23:25:04 +02:00
Simon Bruder
e138a4d58c
Add global readme
2023-05-09 23:25:04 +02:00
Simon Bruder
a4e9c4abda
Licence under GPL v3 or later
2023-05-09 23:25:04 +02:00
Simon Bruder
d81daf6b10
u01: Add readme
2023-05-09 23:25:04 +02:00
Simon Bruder
fd230375ee
u01: Allow both static and dynamic linking
...
This uses CMake’s BUILD_SHARED_LIBS variable, which by default is set to
OFF. To build the shared library and link the binaries against it, you
can set it to ON.
2023-05-09 23:25:03 +02:00
Simon Bruder
abb6291c56
u01: Change project name
...
The task requires this.
2023-05-09 23:24:22 +02:00
Simon Bruder
47e5d9c522
u01: Change name of library
...
The task requires this name.
2023-05-09 23:24:18 +02:00