OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MaliSDK::Vec3f Class Reference

A 3D floating point vector. More...

#include <VectorTypes.h>

Public Member Functions

void normalize (void)
 Normalize 3D floating point vector. More...
 
void normalize (void)
 Normalize 3D floating point vector. More...
 
void normalize (void)
 Normalize 3D floating point vector. More...
 
void normalize (void)
 Normalize 3D floating point vector. More...
 
void normalize (void)
 Normalize 3D floating point vector. More...
 
void normalize (void)
 Normalize 3D floating point vector. More...
 
void normalize (void)
 Normalize 3D floating point vector. More...
 
void normalize (void)
 Normalize 3D floating point vector. More...
 
void normalize (void)
 Normalize 3D floating point vector. More...
 
void normalize (void)
 Normalize 3D floating point vector. More...
 

Static Public Member Functions

static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 
static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 
static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 
static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 
static float dot (Vec3f &vector1, Vec3f &vector2)
 Calculate dot product between two 3D floating point vectors. More...
 
static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 
static float dot (Vec3f &vector1, Vec3f &vector2)
 Calculate dot product between two 3D floating point vectors. More...
 
static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 
static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 
static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 
static float dot (Vec3f &vector1, Vec3f &vector2)
 Calculate dot product between two 3D floating point vectors. More...
 
static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 
static float dot (Vec3f &vector1, Vec3f &vector2)
 Calculate dot product between two 3D floating point vectors. More...
 
static Vec3f cross (const Vec3f &vector1, const Vec3f &vector2)
 Calculate cross product between two 3D floating point vectors. More...
 

Public Attributes

float x
 
float y
 
float z
 

Detailed Description

A 3D floating point vector.

Class containing three floating point numbers, useful for representing 3D coordinates.

Definition at line 83 of file VectorTypes.h.

Member Function Documentation

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 69 of file VectorTypes.h.

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 69 of file VectorTypes.h.

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 69 of file VectorTypes.h.

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 69 of file VectorTypes.h.

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 77 of file Matrix.h.

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 108 of file VectorTypes.h.

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 108 of file VectorTypes.h.

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 108 of file VectorTypes.h.

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 108 of file VectorTypes.h.

static Vec3f MaliSDK::Vec3f::cross ( const Vec3f vector1,
const Vec3f vector2 
)
inlinestatic

Calculate cross product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute cross product.
[in]vector2Second floating point vector that will be used to compute cross product.
Returns
Floating point vector that is a result of cross product of vector1 and vector2.

Definition at line 108 of file VectorTypes.h.

static float MaliSDK::Vec3f::dot ( Vec3f vector1,
Vec3f vector2 
)
inlinestatic

Calculate dot product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute product.
[in]vector2Second floating point vector that will be used to compute product.
Returns
Floating point value that is a result of dot product of vector1 and vector2.

Definition at line 45 of file VectorTypes.h.

static float MaliSDK::Vec3f::dot ( Vec3f vector1,
Vec3f vector2 
)
inlinestatic

Calculate dot product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute product.
[in]vector2Second floating point vector that will be used to compute product.
Returns
Floating point value that is a result of dot product of vector1 and vector2.

Definition at line 45 of file VectorTypes.h.

static float MaliSDK::Vec3f::dot ( Vec3f vector1,
Vec3f vector2 
)
inlinestatic

Calculate dot product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute product.
[in]vector2Second floating point vector that will be used to compute product.
Returns
Floating point value that is a result of dot product of vector1 and vector2.

Definition at line 45 of file VectorTypes.h.

static float MaliSDK::Vec3f::dot ( Vec3f vector1,
Vec3f vector2 
)
inlinestatic

Calculate dot product between two 3D floating point vectors.

Parameters
[in]vector1First floating point vector that will be used to compute product.
[in]vector2Second floating point vector that will be used to compute product.
Returns
Floating point value that is a result of dot product of vector1 and vector2.

Definition at line 45 of file VectorTypes.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 53 of file VectorTypes.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 53 of file VectorTypes.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 53 of file VectorTypes.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 53 of file VectorTypes.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 60 of file Matrix.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 91 of file VectorTypes.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 91 of file VectorTypes.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 91 of file VectorTypes.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 91 of file VectorTypes.h.

void MaliSDK::Vec3f::normalize ( void  )
inline

Normalize 3D floating point vector.

Definition at line 91 of file VectorTypes.h.

Member Data Documentation

float MaliSDK::Vec3f::x

Definition at line 86 of file VectorTypes.h.

float MaliSDK::Vec3f::y

Definition at line 86 of file VectorTypes.h.

float MaliSDK::Vec3f::z

Definition at line 86 of file VectorTypes.h.


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