WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-03-2003, 04:23 PM
david david is offline
Member
 
Join Date: Mar 2003
Posts: 23
Unhappy <transform>.getRot() not working

Hi,
I noticed the function getRot() is not consistent.

I got the following lines in the interactive window:
>>> import vizmat
>>> X = vizmat.Transform()
>>> X.makeRot(0,1,0,180)
>>> X.getRot()
[0.0, -1.0, 0.0, 180.00000500895632]
>>> X.makeRot(0,1,0,90)
>>> X.getRot()
[-0.70710670948028564, 0.0, 0.7071068286895752, 180.00000500895632]

Could someone help out here?

David
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:39 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC