VR SDK for Android 0.1.1 ARM Developer Center
vec3 Struct Reference

#include <matrix.h>

Public Member Functions

 vec3 ()
 
 vec3 (float X, float Y, float Z)
 
 vec3 (float S)
 
vec3 operator- () const
 
vec3 operator+ (const vec3 &rhs) const
 
vec3 operator* (const vec3 &rhs) const
 
vec3 operator- (const vec3 &rhs) const
 
vec3 operator* (const float s) const
 
vec3 operator/ (const float s) const
 
vec3operator+= (const vec3 &rhs)
 
vec3operator*= (const vec3 &rhs)
 
vec3operator-= (const vec3 &rhs)
 
float & operator[] (unsigned int i)
 
const float & operator[] (unsigned int i) const
 

Public Attributes

float x
 
float y
 
float z
 

Detailed Description

Definition at line 51 of file matrix.h.

Constructor & Destructor Documentation

vec3::vec3 ( )
inline

Definition at line 57 of file matrix.h.

vec3::vec3 ( float  X,
float  Y,
float  Z 
)
inline

Definition at line 58 of file matrix.h.

vec3::vec3 ( float  S)
inlineexplicit

Definition at line 59 of file matrix.h.

Member Function Documentation

vec3 vec3::operator* ( const vec3 rhs) const
inline

Definition at line 62 of file matrix.h.

vec3 vec3::operator* ( const float  s) const
inline

Definition at line 64 of file matrix.h.

vec3& vec3::operator*= ( const vec3 rhs)
inline

Definition at line 68 of file matrix.h.

vec3 vec3::operator+ ( const vec3 rhs) const
inline

Definition at line 61 of file matrix.h.

vec3& vec3::operator+= ( const vec3 rhs)
inline

Definition at line 67 of file matrix.h.

vec3 vec3::operator- ( ) const
inline

Definition at line 60 of file matrix.h.

vec3 vec3::operator- ( const vec3 rhs) const
inline

Definition at line 63 of file matrix.h.

vec3& vec3::operator-= ( const vec3 rhs)
inline

Definition at line 69 of file matrix.h.

vec3 vec3::operator/ ( const float  s) const
inline

Definition at line 65 of file matrix.h.

float& vec3::operator[] ( unsigned int  i)
inline

Definition at line 71 of file matrix.h.

const float& vec3::operator[] ( unsigned int  i) const
inline

Definition at line 72 of file matrix.h.

Member Data Documentation

float vec3::x

Definition at line 53 of file matrix.h.

float vec3::y

Definition at line 54 of file matrix.h.

float vec3::z

Definition at line 55 of file matrix.h.


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