Synopsis

PDX_MSGT gdx_CreateMatrixFromXYZAngles(long option, double ax, double ay, double az, double dx, double dy, double dz, GDX_MATRIX mat)

Purpose

Create a GDX matrix from XYZ rotation angles and XYZ translation

Description

Creates a GDX matrix from three angles that rotate about the X axis, then the Y axis and finally the Z axis and an XYZ translation

Input

option

Option (Not used)

ax

Angle of rotation about the x-axis

ay

Angle of rotation about the y-axis

az

Angle of rotation about the z-axis

dx

Offset in the x direction

dy

Offset in the y direction

dz

Offset in the z direction

Output

mat

GDX matrix

Return

GDX_NOERR