Describes transformation.
You can find more information in comments below.
struct TRANSFORM
{
float Tx; // Translate X
float Ty; // Translate Y
float Tz; // Translate Z
float Sx; // Scale X
float Sy; // Scale Y
float Sz; // Scale Z
float Rx; // Rotate X
float Ry; // Rotate Y
float Rz; // Rotate Z
ROTATE_ORDER RotateOrder; // Rotate order
TRANSFORM_ORDER TransformOrder; // Transform order
};
Following operators are also available.
std::wostream &operator<<(std::wostream &stream, const TRANSFORM &a); // Output as source code
Namespace: | nitisa |
Include: |
Nitisa/Core/Types.h (For structure declaration) Nitisa/Core/Utils.h (For standalone operators) |