quat-double.hpp File Reference

Go to the source code of this file.

Functions

quat operator * (const quat &q, const double &d)
quat operator/ (const quat &q, const double &d)


Function Documentation

quat operator * const quat q,
const double &  d
[inline]
 

quat*double operator

Definition at line 29 of file quat-double.hpp.

00030 {
00031   return quat( q.x*d, q.y*d, q.z*d, q.r*d );
00032 }

quat operator/ const quat q,
const double &  d
[inline]
 

quat/double operator

Definition at line 36 of file quat-double.hpp.

00037 {
00038   return quat( q.x/d, q.y/d, q.z/d, q.r/d );
00039 }


Generated on Tue Mar 15 16:02:38 2005 for QVM by  doxygen 1.4.1