MinGfx Toolkit  1.0
A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.
Classes | Namespaces | Functions
quaternion.h File Reference
#include <iostream>
#include "vector3.h"

Go to the source code of this file.

Classes

class  mingfx::Quaternion
 A quaternion to represent rotations in 3D space. More...
 

Namespaces

 mingfx
 Namespace for the MinGfx Toolkit.
 

Functions

Quaternion mingfx::operator* (const Quaternion &q1, const Quaternion &q2)
 
Quaternion mingfx::operator/ (const Quaternion &q, const float s)
 
Quaternion mingfx::operator* (const float s, const Quaternion &q)
 
Quaternion mingfx::operator* (const Quaternion &q, const float s)
 
Quaternion mingfx::operator- (const Quaternion &q)
 
Quaternion mingfx::operator+ (const Quaternion &q1, const Quaternion &q2)
 
Quaternion mingfx::operator- (const Quaternion &q1, const Quaternion &q2)
 
std::ostream & mingfx::operator<< (std::ostream &os, const Quaternion &q)
 
std::istream & mingfx::operator>> (std::istream &is, Quaternion &q)