OpenGL ES SDK for Android
ARM Developer Center
|
#include <matrix.h>
Public Types | |
enum | { vector_size = 2 } |
enum | { vector_size = 2 } |
enum | { vector_size = 2 } |
typedef float | data_type |
typedef vec2 | vector_type |
typedef float | data_type |
typedef vec2 | vector_type |
Public Member Functions | |
vec2 () | |
vec2 (float X, float Y) | |
vec2 (float S) | |
vec2 | operator+ (const vec2 &rhs) const |
vec2 | operator* (const vec2 &rhs) const |
vec2 | operator- (const vec2 &rhs) const |
vec2 | operator* (const float s) const |
vec2 | operator/ (const float s) const |
vec2 & | operator*= (const float s) |
vec2 & | operator+= (const vec2 &rhs) |
vec2 & | operator*= (const vec2 &rhs) |
vec2 & | operator-= (const vec2 &rhs) |
float & | operator[] (unsigned int i) |
const float & | operator[] (unsigned int i) const |
vec2 () | |
vec2 (float s) | |
vec2 (float x, float y) | |
vec2 (const float *vec) | |
vec2 () | |
vec2 (float s) | |
vec2 (float x, float y) | |
vec2 (const float *vec) | |
vec2 () | |
vec2 (float X, float Y) | |
vec2 (float S) | |
vec2 | operator+ (const vec2 &rhs) const |
vec2 | operator* (const vec2 &rhs) const |
vec2 | operator- (const vec2 &rhs) const |
vec2 | operator* (const float s) const |
vec2 | operator/ (const float s) const |
vec2 & | operator*= (const float s) |
vec2 & | operator+= (const vec2 &rhs) |
vec2 & | operator*= (const vec2 &rhs) |
vec2 & | operator-= (const vec2 &rhs) |
float & | operator[] (unsigned int i) |
const float & | operator[] (unsigned int i) const |
vec2 () | |
vec2 (float s) | |
vec2 (float x, float y) | |
vec2 (const float *vec) | |
vec2 () | |
vec2 (float X, float Y) | |
vec2 (float S) | |
vec2 | operator+ (const vec2 &rhs) const |
vec2 | operator* (const vec2 &rhs) const |
vec2 | operator- (const vec2 &rhs) const |
vec2 | operator* (const float s) const |
vec2 | operator/ (const float s) const |
vec2 & | operator*= (const float s) |
vec2 & | operator+= (const vec2 &rhs) |
vec2 & | operator*= (const vec2 &rhs) |
vec2 & | operator-= (const vec2 &rhs) |
float & | operator[] (unsigned int i) |
const float & | operator[] (unsigned int i) const |
vec2 () | |
vec2 (float X, float Y) | |
vec2 (float S) | |
vec2 | operator+ (const vec2 &rhs) const |
vec2 | operator* (const vec2 &rhs) const |
vec2 | operator- (const vec2 &rhs) const |
vec2 | operator* (const float s) const |
vec2 | operator/ (const float s) const |
vec2 & | operator*= (const float s) |
vec2 & | operator+= (const vec2 &rhs) |
vec2 & | operator*= (const vec2 &rhs) |
vec2 & | operator-= (const vec2 &rhs) |
float & | operator[] (unsigned int i) |
const float & | operator[] (unsigned int i) const |
Public Attributes | |
float | x |
float | y |
union { | |
struct { | |
float x | |
float y | |
} | |
float data [2] | |
}; | |
union { | |
struct { | |
float x | |
float y | |
} c | |
float data [2] | |
}; | |
union { | |
struct { | |
float x | |
float y | |
} c | |
float data [2] | |
}; | |
typedef float vec2::data_type |
Definition at line 54 of file vector_math.h.
typedef float vec2::data_type |
Definition at line 54 of file vector_math.h.
typedef vec2 vec2::vector_type |
Definition at line 55 of file vector_math.h.
typedef vec2 vec2::vector_type |
Definition at line 55 of file vector_math.h.
anonymous enum |
Enumerator | |
---|---|
vector_size |
Definition at line 53 of file vector_math.h.
anonymous enum |
Enumerator | |
---|---|
vector_size |
Definition at line 46 of file vector_math.h.
anonymous enum |
Enumerator | |
---|---|
vector_size |
Definition at line 53 of file vector_math.h.
|
inline |
Definition at line 56 of file vector_math.h.
|
inline |
Definition at line 57 of file vector_math.h.
Definition at line 58 of file vector_math.h.
|
inline |
Definition at line 59 of file vector_math.h.
|
inline |
Definition at line 56 of file vector_math.h.
|
inline |
Definition at line 57 of file vector_math.h.
Definition at line 58 of file vector_math.h.
|
inline |
Definition at line 59 of file vector_math.h.
|
inline |
Definition at line 47 of file vector_math.h.
|
inline |
Definition at line 48 of file vector_math.h.
Definition at line 49 of file vector_math.h.
|
inline |
Definition at line 50 of file vector_math.h.
union { ... } |
union { ... } |
union { ... } |
struct { ... } vec2::c |
struct { ... } vec2::c |
float vec2::data[2] |
Definition at line 51 of file vector_math.h.