Affine Class Reference

#include <Affine.h>

Inheritance diagram for Affine:
Object

# Static Public Member Functions

static int16 transform (int32 maximumParamTableRowsToComputePerCall, uint32 param, int16 paramTableRow, fixed_t targetHalfWidth, fixed_t targetHalfHeight, fix13_3 mx, fix13_3 my, fixed_t halfWidth, fixed_t halfHeight, const Rotation *rotation)
static int16 rotate (int32 maximumParamTableRowsToComputePerCall, uint32 param, int16 paramTableRow, fixed_t targetHalfWidth, fixed_t targetHalfHeight, fix13_3 mx, fix13_3 my, fixed_t halfWidth, fixed_t halfHeight, const Rotation *rotation)

# Additional Inherited Members

- Private Member Functions inherited from Object
void constructor ()
 Class' constructor.
const void * getVTable ()
bool mutateTo (const void *targetClass)
- Static Private Member Functions inherited from Object
static Object getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod)
- Private Attributes inherited from Object
void * vTable
 Pointer to the class's virtual table.

# Detailed Description

Class Affine

Inherits from Object

Implements various affine transformations.

Definition at line 28 of file Affine.h.

# Member Function Documentation

# rotate()

static int16 Affine::rotate ( int32 maximumParamTableRowsToComputePerCall,
uint32 param,
int16 paramTableRow,
fixed_t targetHalfWidth,
fixed_t targetHalfHeight,
fix13_3 mx,
fix13_3 my,
fixed_t halfWidth,
fixed_t halfHeight,
const Rotation * rotation )
static

Rotate the affine matrix specified by param.

Parameters
maximumParamTableRowsToComputePerCallUsed to defer param table computations (-1 to compute the whole table)
paramDisplacement within param tables space
paramTableRowDisplacement within the specified param table
targetHalfWidthImage's target half width
targetHalfHeightImage's target half height
mxImage's x coordinate
myImage's y coordinate
halfWidthImage's half width
halfHeightImage's half height
rotationTarget rotation

Definition at line 263 of file Affine.c.

# transform()

static int16 Affine::transform ( int32 maximumParamTableRowsToComputePerCall,
uint32 param,
int16 paramTableRow,
fixed_t targetHalfWidth,
fixed_t targetHalfHeight,
fix13_3 mx,
fix13_3 my,
fixed_t halfWidth,
fixed_t halfHeight,
const Rotation * rotation )
static

Translate, scale and rotate the affine matrix specified by param.

Parameters
maximumParamTableRowsToComputePerCallUsed to defer param table computations (-1 to compute the whole table)
paramDisplacement within param tables space
paramTableRowDisplacement within the specified param table
targetHalfWidthImage's target half width
targetHalfHeightImage's target half height
mxImage's x coordinate
myImage's y coordinate
halfWidthImage's half width
halfHeightImage's half height
rotationTarget rotation

Definition at line 25 of file Affine.c.


The documentation for this class was generated from the following files:
  • VUEngine-Core/source/Misc/Math/Affine.h
  • VUEngine-Core/source/Misc/Math/Affine.c