Commit aedd48f
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 7e7fc92 commit aedd48f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
947 | | - | |
| 947 | + | |
948 | 948 | | |
949 | 949 | | |
950 | 950 | | |
| |||
0 commit comments