Osiris Framework  0.3
OMathPrimitive< MType > Class Template Reference

Template class for the GLM-based classes in OMath. More...

#include <OsirisSDK/OMathPrimitive.hpp>

Public Member Functions

 OMathPrimitive ()
 Class constructor.
 
 OMathPrimitive (const OMathPrimitive< MType > &in)
 Copy constructor.
 
virtual ~OMathPrimitive ()
 Class destructor.
 
OMathPrimitive< MType > normalize ()
 Creates a normalized object out of the current one.
 
OMathPrimitive< MType > & operator= (const OMathPrimitive< MType > &in)
 
OMathPrimitive< MType > & operator*= (const OMathPrimitive< MType > &in)
 
OMathPrimitive< MType > operator* (const OMathPrimitive< MType > &in) const
 
OMathPrimitive< MType > & operator+= (const OMathPrimitive< MType > &in)
 
OMathPrimitive< MType > operator+ (const OMathPrimitive< MType > &in) const
 
OMathPrimitive< MType > & operator-= (const OMathPrimitive< MType > &in)
 
OMathPrimitive< MType > operator- (const OMathPrimitive< MType > &in) const
 
OMathPrimitive< MType > & operator*= (float x)
 
virtual OMathPrimitive< MType > operator* (float x) const
 
bool operator== (const OMathPrimitive< MType > &in) const
 
bool operator!= (const OMathPrimitive< MType > &in) const
 
const GLfloat * glArea () const
 Returns a pointer to the memory area to be used by OpenGL. For internal library usage only.
 

Protected Attributes

MType _glmInternal
 

Detailed Description

template<class MType>
class OMathPrimitive< MType >

Template class for the GLM-based classes in OMath.


The documentation for this class was generated from the following file: