OGRE  13.6
Object-Oriented Graphics Rendering Engine
Ogre::VectorBase< dims, T > Struct Template Reference

helper class to implement legacy API. Notably x, y, z access More...

#include <OgreVector.h>

+ Inheritance diagram for Ogre::VectorBase< dims, T >:

Public Member Functions

 VectorBase ()
 
 VectorBase (T _x, T _y)
 
 VectorBase (T _x, T _y, T _z)
 
 VectorBase (T _x, T _y, T _z, T _w)
 
T * ptr ()
 
const T * ptr () const
 

Public Attributes

data [dims]
 

Detailed Description

template<int dims, typename T>
struct Ogre::VectorBase< dims, T >

helper class to implement legacy API. Notably x, y, z access

Constructor & Destructor Documentation

◆ VectorBase() [1/4]

template<int dims, typename T >
Ogre::VectorBase< dims, T >::VectorBase ( )
inline

◆ VectorBase() [2/4]

template<int dims, typename T >
Ogre::VectorBase< dims, T >::VectorBase ( _x,
_y 
)
inline

◆ VectorBase() [3/4]

template<int dims, typename T >
Ogre::VectorBase< dims, T >::VectorBase ( _x,
_y,
_z 
)
inline

◆ VectorBase() [4/4]

template<int dims, typename T >
Ogre::VectorBase< dims, T >::VectorBase ( _x,
_y,
_z,
_w 
)
inline

Member Function Documentation

◆ ptr() [1/2]

◆ ptr() [2/2]

template<int dims, typename T >
const T* Ogre::VectorBase< dims, T >::ptr ( ) const
inline

Member Data Documentation

◆ data

template<int dims, typename T >
T Ogre::VectorBase< dims, T >::data[dims]

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