Synopsis

PDX_MSGT gdx_SurfaceRotate(long option, MTH_3DPNT point, MTH_3DVEC vec, double angle, MDA_PTR gdx_surf_ptr)

Purpose

Rotate a GDX surface entity about an arbitrary axis in space

Description

The surface is rotated about an arbitray axis in space through an angle that follows the right hand rule and can be either + or -.

Input

option

Options (not used)

point

A point on the axis of rotation

vec

The vector of the axis

angle

The angle of rotation (+/-, in radians)

gdx_surf_ptr

The valid GDX surface database pointer

Output

gdx_surf_ptr

The valid GDX surface database pointer

Return

      GDX_NOERR
      Low level error return
      .fi