OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::VectorBase< 4, Real > Struct Reference

#include <OgreVector.h>

Public Member Functions

 VectorBase ()
 VectorBase (Real _x, Real _y, Real _z, Real _w)
Vector4operator= (const Real fScalar)
Vector4operator= (const VectorBase< 3, Real > &rhs)
Realptr ()
const Realptr () const

Public Attributes

Real data [dims]
Real w
Real x
Real y
Real z

Static Public Attributes

static const Vector4 ZERO

Constructor & Destructor Documentation

◆ VectorBase() [1/2]

Ogre::VectorBase< 4, Real >::VectorBase ( )
inline

Referenced by operator=().

◆ VectorBase() [2/2]

Ogre::VectorBase< 4, Real >::VectorBase ( Real _x,
Real _y,
Real _z,
Real _w )
inline

References w, x, y, and z.

Member Function Documentation

◆ ptr() [1/2]

Real * Ogre::VectorBase< 4, Real >::ptr ( )
inline

References x.

◆ ptr() [2/2]

const Real * Ogre::VectorBase< 4, Real >::ptr ( ) const
inline

References x.

◆ operator=() [1/2]

Vector4 & Ogre::VectorBase< 4, Real >::operator= ( const Real fScalar)
inline

References w, x, y, and z.

◆ operator=() [2/2]

Vector4 & Ogre::VectorBase< 4, Real >::operator= ( const VectorBase< 3, Real > & rhs)
inline

References VectorBase(), w, x, y, and z.

Member Data Documentation

◆ x

◆ y

◆ z

◆ w

◆ ZERO

const Vector4 Ogre::VectorBase< 4, Real >::ZERO
static

◆ data

Real Ogre::VectorBase< dims, Real >::data[dims]

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