matrix.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "macros.h"

Go to the source code of this file.

Defines

#define TORADIANS(x)   ((x)/180.0*PI)

Functions

 DECLARE_SOURCE ("$Revision: 1282 $")
Matrix operator * (const Matrix &op1, const Matrix &op2)
 Matrix multiplication.


Define Documentation

#define TORADIANS  )     ((x)/180.0*PI)
 

Definition at line 113 of file matrix.cpp.


Function Documentation

DECLARE_SOURCE "$Revision: 1282 $"   ) 
 

Matrix operator * const Matrix op1,
const Matrix op2
 

Matrix multiplication.

Author:
Ed_Cornes (Xara Group Ltd) <camelotdev@xara.com>
Date:
5/2/96
Parameters:
Two matrices to be multiplied. [INPUTS]
Returns:
result of multiplication.

Definition at line 581 of file matrix.cpp.

00582 {
00583     static Matrix t;
00584 
00585     t = op1;
00586     t *= op2;   // no point in duplicating code, just call *= operator
00587 
00588     return t;
00589 }


Generated on Sat Nov 10 03:49:14 2007 for Camelot by  doxygen 1.4.4