# Synopsis

PDX_MSGT mth_GetRotMatrixFromPlaneNorm(double plane_normal[3], double *matrix)

# Purpose

Get the 3X3 rotation matrix defined by the plane normal

# Description

Using the plane normal determines the corresponding 3X3 rotation matrix that rotates the normal to perpendicular to the XY plane.

# Input

## plane_normal

The normal to the plane

# Output

## matrix

The 3X3 rotation matrix.

# Return

          MTH_NOERR
          .fi