All Classes Files Functions Variables Typedefs Pages
Classes | Functions
QuaternionCore.hpp File Reference

Detailed Description

This file is part of the Lumina Graphics Framework.

Author
Julian Kniephoff julia.nosp@m.n.kn.nosp@m.iepho.nosp@m.ff@g.nosp@m.mail..nosp@m.com

This file will define Quaternion.

Go to the source code of this file.

Classes

struct  Quaternion< T >
 Represents the hamilton ring H(T) for an arbitrary type T. More...
 

Functions

template<typename T1 , typename T2 >
auto operator+ (const Quaternion< T1 > &q1, const Quaternion< T2 > &q2) -> Quaternion< decltype(T1(0)+T2(0))>
 
template<typename T1 , typename T2 >
auto operator- (const Quaternion< T1 > &q1, const Quaternion< T2 > &q2) -> Quaternion< decltype(T1(0)-T2(0))>
 
template<typename T , typename S >
auto operator* (const Quaternion< T > &q, S s) -> Quaternion< decltype(T(0)*S(0))>
 
template<typename T , typename S >
auto operator* (S s, const Quaternion< T > &q) -> Quaternion< decltype(T(0)*S(0))>
 
template<typename T , typename S >
auto operator/ (const Quaternion< T > &q, S s) -> Quaternion< decltype(T(0)/S(0))>
 
template<typename T , typename S >
auto operator/ (S s, const Quaternion< T > &q) -> Quaternion< decltype(T(0)/S(0))>