Closed Boomer91 closed 4 years ago
Please refer to the threejs documentation. It states that dir
must be a unit vector. Does it work if you set dir=[1./3., 1./3., 1./3.]
?
dir -- direction from origin. Must be a unit vector.
Ah, I oversaw that. Yes, dir=[1./3., 1./3., 1./3.] works. Closing
Hi, thanks for developing this awesome tool!
Arrows do render now, but there seems to be a bug with the direction argument. See minimal example below. Unit directions work fine, but e.g. dir = (1,1,1) renders a dir = (1,0,0) vector.
Thanks, Cyriel
Originally posted by @Boomer91 in https://github.com/jupyter-widgets/pythreejs/issues/258#issuecomment-625880930