chiark
/
gitweb
/
~ian
/
moebius3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
530bc16
)
helixish: fix tilt sense
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 29 Nov 2017 19:40:00 +0000
(19:40 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 29 Nov 2017 19:40:00 +0000
(19:40 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
helixish.py
patch
|
blob
|
history
diff --git
a/helixish.py
b/helixish.py
index dde107d1efa5d20d7a16750d37d95317d2444118..a4519a2614ff3baceea2434f46d4effb8317638d 100644
(file)
--- a/
helixish.py
+++ b/
helixish.py
@@
-142,8
+142,8
@@
class HelixishCurve():
tilt = atan(start_mu)
tilt_basis = np.array([
[ 1, 0, 0, 0 ],
- [ 0, cos(tilt),
-
sin(tilt), 0 ],
- [ 0,
sin(tilt), cos(tilt), 0 ],
+ [ 0, cos(tilt),
sin(tilt), 0 ],
+ [ 0,
-
sin(tilt), cos(tilt), 0 ],
[ 0, 0, 0, 1 ],
])
findcurve_basis = matmatmultiply(dPQplane_basis, tilt_basis)