OGRE 14.3
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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]

◆ VectorBase() [2/4]

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

References data.

◆ VectorBase() [3/4]

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

References data.

◆ VectorBase() [4/4]

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

References data.

Member Function Documentation

◆ ptr() [1/2]

◆ ptr() [2/2]

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

References data.

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: