Function


mhcTransformGenerateMatrix

Generates a 4x4 matrix from transform.

Syntax

#include <mhc/Transform.h>
void mhcTransformGenerateMatrix( MhcTransform *transform_ptr,
                                 MvmMatrix44f matrix )

Description

Generates a 4x4 matrix from transform.

See Also

MhcTransform

mhcTransformGenerateOrientation

Generates a 3x3 matrix from transform which indicates only rotation.

Syntax

#include <mhc/Transform.h>
void mhcTransformGenerateOrientation( MhcTransform *transform_ptr,
                                      MvmMatrix33f orientation )

Description

Generates a 3x3 matrix from transform which indicates only rotation.

mhcTransformGenerateMtx

Generates Mtx from transform.

Syntax

#include <mhc/Transform.h>
void mhcTransformGenerateMtx( MhcTransform *transform_ptr,
                              Mtx *mtx_ptr )

Description

Generates Mtx from transform.

Macro



_mhcTransformCopy

Copies transform

Syntax

#include <mhc/Transform.h>
_mhcTransformCopy(dest_ptr,src_ptr)

Description

Copies transform

Structure



MhcTransform

#include <mhc/Transform.h>

typedef struct _MhcTransform
{
    MvmMatrix33f        *orientation_ptr;
    MvmMatrix33f        *scaled_orientation_ptr;
    MvmVector3f         *translation_ptr;
    MvmVector3f         *scale_ptr;
} MhcTransform;