File tree Expand file tree Collapse file tree 3 files changed +259
-1
lines changed Expand file tree Collapse file tree 3 files changed +259
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,9 @@ representing the lower left and upper right corners of the rectangle.
109
109
In order to do some calculations,
110
110
we need to normalize the rectangle so that the lower left corner is at the origin
111
111
and the longest side is 1.0 units long.
112
+
113
+ ![ ] ( fig/rectangle_normalization.svg ) {alt='Rectangle normalization follows one of two paths depending on which side is longer.'}
114
+
112
115
This function does that,
113
116
but checks that its input is correctly formatted and that its result makes sense:
114
117
Original file line number Diff line number Diff line change 12
12
"episodes/07-cond.md" "e2e4b672a3cc52150cc74b4296f16531" "site/built/07-cond.md" "2023-11-17"
13
13
"episodes/08-func.md" "ca1da7a3d21d6b8dee6a1e52d35e8d84" "site/built/08-func.md" "2023-11-10"
14
14
"episodes/09-errors.md" "9eb44385622246a7b9e5e51ab0057c81" "site/built/09-errors.md" "2023-04-21"
15
- "episodes/10-defensive.md" "ec548cde2f4a5a3b7aa5301cc9bbc2f4 " "site/built/10-defensive.md" "2023-11-16 "
15
+ "episodes/10-defensive.md" "3da266d884e2a11ba528edcaf9aba847 " "site/built/10-defensive.md" "2025-02-27 "
16
16
"episodes/11-debugging.md" "2376a87cad5c1f039796f7315a223aff" "site/built/11-debugging.md" "2023-04-21"
17
17
"episodes/12-cmdline.md" "6364192fd0440c6834d837055705d34b" "site/built/12-cmdline.md" "2023-11-10"
18
18
"instructors/additional_material.md" "8032d13185179bda24bbc3d90ed22936" "site/built/additional_material.md" "2023-04-21"
You can’t perform that action at this time.
0 commit comments