Repository navigation
Commit beef079
committed
fix(twist): add missing denominator in Twist3.pitch calculation
The pitch calculation was missing the denominator, returning
an incorrect value. Pitch should be normalized by |w|²:
pitch = (w · v) / (w · w)
This represents the translation distance per radian along the screw axis.
All 25 twist tests pass.1 parent 8b83c1f commit beef079
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | | - | |
| 948 | + | |
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
| |||
0 commit comments