# Synopsis

PDX_MSGT mth_TransformVector(long option, double *vec1, double *matrix, double *vec2)

# Purpose

Transform a 3D vector through a matrix

# Description

A 3D vector will be transformed through a matrix that is in either 3x4 (GDX_MATRIX) or 4x4 format.

# Input

## option

Options (not used)

## vec1

The input vector (3)

## matrix

The transformation matrix (3x4 or 4x4)

# Output

## vec2

The output vector (3) which can be returned from the input vector

# Return

          MTH_NOERR
          Low level error return
          .fi