Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

quaternion.cc File Reference

#include "quaternion.h"
#include <stdio.h>
#include <math.h>
#include "log.h"

Include dependency graph for quaternion.cc:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

Quaternion operator+ (const Quaternion &a, const Quaternion &b)
Quaternion operator- (const Quaternion &a, const Quaternion &b)
Quaternion operator * (const Quaternion &a, double s)
Quaternion operator/ (const Quaternion &a, double s)
Quaternion operator~ (const Quaternion &a)
Quaternion operator * (const Quaternion &a, const Quaternion &b)
Quaternion operator * (const Quaternion &q, const Vector3d &v)
Quaternion operator * (const Vector3d &v, const Quaternion &q)


Function Documentation

Quaternion operator * const Vector3d   v,
const Quaternion   q
[inline]
 

Definition at line 124 of file quaternion.cc.

References Quaternion::u, Vector3d::x, Quaternion::x, Vector3d::y, Quaternion::y, Vector3d::z, and Quaternion::z.

Quaternion operator * const Quaternion   q,
const Vector3d   v
[inline]
 

Definition at line 117 of file quaternion.cc.

References Quaternion::u, Vector3d::x, Quaternion::x, Vector3d::y, Quaternion::y, Vector3d::z, and Quaternion::z.

Quaternion operator * const Quaternion   a,
const Quaternion   b
[inline]
 

Definition at line 110 of file quaternion.cc.

References Quaternion::u, Quaternion::x, Quaternion::y, and Quaternion::z.

Quaternion operator * const Quaternion   a,
double    s
[inline]
 

Definition at line 82 of file quaternion.cc.

References Quaternion::u, Quaternion::x, Quaternion::y, and Quaternion::z.

Quaternion operator+ const Quaternion   a,
const Quaternion   b
[inline]
 

Definition at line 58 of file quaternion.cc.

References Quaternion::u, Quaternion::x, Quaternion::y, and Quaternion::z.

Quaternion operator- const Quaternion   a,
const Quaternion   b
[inline]
 

Definition at line 70 of file quaternion.cc.

References Quaternion::u, Quaternion::x, Quaternion::y, and Quaternion::z.

Quaternion operator/ const Quaternion   a,
double    s
[inline]
 

Definition at line 94 of file quaternion.cc.

References Quaternion::u, Quaternion::x, Quaternion::y, and Quaternion::z.

Quaternion operator~ const Quaternion   a [inline]
 

Definition at line 106 of file quaternion.cc.

References Quaternion::u, Quaternion::x, Quaternion::y, and Quaternion::z.


Generated on Mon Jun 17 19:54:05 2002 for Svas Server by doxygen1.2.16