Synopsis

PDX_MSGT gdx_CreateMatrixFromAxisAngle(long option, MTH_3DPNT axis_pnt, double axis_vec[3], double angle, GDX_MATRIX matrix)

Purpose

Create a GDX matrix from an axis and angle about axis

Description

Creates a GDX matrix from an rotation about an arbitrary axis. The axis is defined by an axis point axis_pnt and an axis vector axis_vec. A rotation angle angle of 0.0 returns the identity matrix.

Input

option

Option (Not used)

axis_pnt

The axis vector start point

axis_vec

The axis vector direction

angle

The angle to revovle about the axis

Output

matrix

GDX matrix

Return

GDX_NOERR