![]() |
setEuler argument/documentation confusion
Hello,
The documentation for the setEuler function (and some other rotation/translation functions) is, at least to me, misleading with respect to its arguments. The doc lists: Code:
Code:
viz.MainView.setEuler([90, 0, 0], mode = viz.REL_LOCAL) The only way to get the desired results is to call like this Code:
viz.MainView.setEuler(90, 0, 0, mode = viz.REL_LOCAL) Code:
viz.MainView.setEuler([90, 0, 0], viz.HEAD_ORI, viz.REL_LOCAL) |
All times are GMT -7. The time now is 03:45 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC