plopp / vispy-point-cloud

This example uses Vispy python OpenGL-library to plot filtered LIDAR (laser scanned) point-cloud with hillshade, contour lines and color coded altitude.
9 stars 4 forks source link

from vispy.util.transforms import perspective, translate,rotate,xrotate, yrotate, zrotate, scale ImportError: cannot import name 'xrotate' #2

Closed yileichen123 closed 3 years ago

yileichen123 commented 5 years ago

Did you add the function xrotate, yrotate, zrotate, scale in vispy.util.transforms ? I don't find the def

plopp commented 3 years ago

This is awkward, sorry for a way too late reply. It seems the axis-specific rotation functions were replaced - at some point - with just the rotate function, to which you provide the axis by means of a parameter.

Docs: Vispy 0.6 vispy.transforms.rotate