This repository was archived by the owner on Dec 9, 2025. It is now read-only.
Commit 470d0d9
committed
feat!: Scale improvements
- Added dedup of scale points
- Changed visibility of some Scale functions
- Added length of scale
- Corrected line scales test
- Changed Scale::contains to consider entire generated range
- Changed Scale::new to accept friendlier inputs
- Changed Scale::points to return uniform Data type
- Added Scale tests1 parent cbed5e4 commit 470d0d9
5 files changed
Lines changed: 373 additions & 106 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
| |||
152 | 150 | | |
153 | 151 | | |
154 | 152 | | |
155 | | - | |
156 | 153 | | |
157 | 154 | | |
158 | 155 | | |
159 | 156 | | |
160 | 157 | | |
161 | | - | |
162 | 158 | | |
163 | 159 | | |
164 | 160 | | |
| |||
0 commit comments