Tizen Native API  4.0
Dali::AngleAxis Struct Reference

An angle & axis pair. More...

Public Member Functions

 AngleAxis ()
 Creates an angle-axis pair.
 AngleAxis (Radian initialAngle, const Vector3 &initialAxis)
 Creates an angle-axis pair.

Public Attributes

Radian angle
 The angle in radians.
Vector3 axis
 The axis.

Detailed Description

An angle & axis pair.

This is slightly easier to understand than quaternions for handling rotations of objects. Both elements should be non-zero to correctly describe a rotation.

Since:
3.0, DALi version 1.0.0

Constructor & Destructor Documentation

Creates an angle-axis pair.

Since:
3.0, DALi version 1.0.0
Dali::AngleAxis::AngleAxis ( Radian  initialAngle,
const Vector3 initialAxis 
)

Creates an angle-axis pair.

Since:
3.0, DALi version 1.0.0
Parameters:
[in]initialAngleThe initial angle in radians
[in]initialAxisThe initial axis