axisx / axisy / axisz
For direction and quaternion variables only.
Change the default coordinate system used to represent quaternion and direction. By default the coordinate system is right-handed with axis x pointing to the right, axis y pointing to the top and axis z pointing to the front (ie., the viewer). If you are using a different coordinate system in your application, use these parameters to permute the axes. n represents the new axis; it is one of the following values: x, -x, y, -y, z or -z.
Example:TwDefine(" mybar/Rotation axisx=x axisy=y axisz=-z "); // Permute z axis to get a left-handed coordinate system
BacteriusMember Since 28 Feb 2011
Online Last Active Today, 09:58 PM
- Group Crossbones+
- Active Posts 1,949
- Profile Views 16,719
- Submitted Links 0
- Member Title Crossbones
- Age 21 years old
- Birthday August 1, 1993
Wellington, New Zealand
Low/mid-level programming, computer science, mathematics and cryptography, some graphics development, video games, trance music, table tennis, sleep, and procrastination.
- Skype tomcrypto