GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
radix::Quaternion Struct Reference

#include <external/RadixEngine/include/radix/core/math/Vector4f.hpp>

Inherits radix::Vector4f.

Public Member Functions

constexpr Quaternion ()
 
 Quaternion (const btQuaternion &)
 
Quaternion operator* (const Quaternion &) const
 
Quaternionoperator*= (const Quaternion &)
 
Vector3f operator* (const Vector3f &) const
 
Quaternion operator/ (const Quaternion &) const =delete
 
Quaternionoperator/= (const Quaternion &)=delete
 
QuaternionfromAxAngle (float x, float y, float z, float r)
 
QuaternionfromAxAngle (const Vector3f &a, float r)
 
QuaternionfromAxAngle (const Vector4f &a)
 
Vector4f toAxAngle () const
 
QuaternionfromAero (float tetha, float phi, float psi)
 
QuaternionfromAero (const Vector3f &)
 
Vector3f toAero () const
 
Matrix4f toMatrix () const
 
std::string toString () const
 
- Public Member Functions inherited from radix::Vector4f
constexpr Vector4f ()
 
constexpr Vector4f (float x, float y, float z, float w)
 
constexpr Vector4f (float v)
 
 Vector4f (const Vector3f &, float w)
 
 Vector4f (const Vector2f &, float z, float w)
 
void serialize (serine::Archiver &)
 
constexpr Vector4f operator- () const
 
constexpr Vector4f operator* (const Vector4f &v) const
 
Vector4foperator*= (const Vector4f &v)
 
constexpr Vector4f operator* (float v) const
 
Vector4foperator*= (float v)
 
constexpr Vector4f operator/ (const Vector4f &v) const
 
Vector4foperator/= (const Vector4f &v)
 
constexpr Vector4f operator/ (float v) const
 
Vector4foperator/= (float v)
 
constexpr Vector4f operator+ (const Vector4f &v) const
 
Vector4foperator+= (const Vector4f &v)
 
constexpr Vector4f operator- (const Vector4f &v) const
 
Vector4foperator-= (const Vector4f &v)
 
bool fuzzyEqual (const Vector4f &, float threshold=.01f) const
 
std::string toString () const
 
 operator btVector4 () const
 
 Vector4f (const btVector4 &)
 
Vector4foperator= (const btVector4 &)
 
 operator btQuaternion () const
 
 Vector4f (const btQuaternion &)
 
Vector4foperator= (const btQuaternion &)
 

Additional Inherited Members

- Data Fields inherited from radix::Vector4f
union {
   float   x
 
   float   r
 
   float   s
 
   float   yaw
 
   float   heading
 
   float   azimuth
 
   float   tetha
 
}; 
 
union {
   float   y
 
   float   g
 
   float   t
 
   float   pitch
 
   float   attitude
 
   float   elevation
 
   float   phi
 
}; 
 
union {
   float   z
 
   float   b
 
   float   u
 
   float   roll
 
   float   bank
 
   float   tilt
 
   float   psi
 
}; 
 
union {
   float   w
 
   float   a
 
   float   v
 
   float   d
 
}; 
 

Constructor & Destructor Documentation

constexpr radix::Quaternion::Quaternion ( )
inline
radix::Quaternion::Quaternion ( const btQuaternion &  v)

Member Function Documentation

Quaternion & radix::Quaternion::fromAero ( float  tetha,
float  phi,
float  psi 
)
Quaternion & radix::Quaternion::fromAero ( const Vector3f v)
Quaternion & radix::Quaternion::fromAxAngle ( float  x,
float  y,
float  z,
float  r 
)
Quaternion & radix::Quaternion::fromAxAngle ( const Vector3f a,
float  r 
)
Quaternion & radix::Quaternion::fromAxAngle ( const Vector4f a)
Quaternion radix::Quaternion::operator* ( const Quaternion q) const
Vector3f radix::Quaternion::operator* ( const Vector3f v) const
Quaternion & radix::Quaternion::operator*= ( const Quaternion q)
Quaternion radix::Quaternion::operator/ ( const Quaternion ) const
delete
Quaternion& radix::Quaternion::operator/= ( const Quaternion )
delete
Vector3f radix::Quaternion::toAero ( ) const
Vector4f radix::Quaternion::toAxAngle ( ) const
Matrix4f radix::Quaternion::toMatrix ( ) const
std::string radix::Quaternion::toString ( ) const
inline

The documentation for this struct was generated from the following files: