Visit Cem Yuksel's web site

Files

Class List

Class Members

Class Hierarchy

cyMatrix2.h File Reference


Detailed Description

2x2 matrix class

Author:
Cem Yuksel
Version:
1.2
Date:
June 7, 2007

#include "cyPoint.h"

Namespaces

namespace  cy

Classes

class  cyMatrix2f
 2x2 matrix class. More...

Typedefs

typedef cyMatrix2f cy::Matrix2f

Functions

cyMatrix2f operator+ (const float value, const cyMatrix2f &right)
 add a value to a matrix
cyMatrix2f operator- (const float value, const cyMatrix2f &right)
 subtract the matrix from a value
cyMatrix2f operator * (const float value, const cyMatrix2f &right)
 multiple matrix by a value
cyPoint2f operator * (const cyPoint2f &p, const cyMatrix2f &m)
 pre-multiply with a 3D point

Visit Cem Yuksel's website!