Open mlund opened 5 years ago
Tensors (see particle.cpp) are currently rotated using a rotation matrix. It would be more efficient to change this to quaternions as is done for vectors (now particle rotation functions required both matrix and quaternion). Eigen transformations.
particle.cpp
ping @bjornstenqvist
Eigen now seems to have experimental tensor support: http://eigen.tuxfamily.org/index.php?title=Tensor_support
Tensors (see
particle.cpp
) are currently rotated using a rotation matrix. It would be more efficient to change this to quaternions as is done for vectors (now particle rotation functions required both matrix and quaternion). Eigen transformations.ping @bjornstenqvist