![]() |
OpenGL ES SDK for Android
ARM Developer Center
|
#include <vector_math.h>
Public Types | |
| enum | { vector_size = 2 } |
| typedef T | data_type |
| typedef ivec2< T > | vector_type |
Public Member Functions | |
| ivec2 () | |
| ivec2 (T s) | |
| ivec2 (T x, T y) | |
| ivec2 (const T *vec) | |
| ivec2 (vec2 s) | |
| operator vec2 () const | |
Public Attributes | |
| union { | |
| struct { | |
| T x | |
| T y | |
| } | |
| T data [2] | |
| }; | |
Definition at line 65 of file vector_math.h.
| typedef T detail::ivec2< T >::data_type |
Definition at line 79 of file vector_math.h.
| typedef ivec2<T> detail::ivec2< T >::vector_type |
Definition at line 80 of file vector_math.h.
| anonymous enum |
| Enumerator | |
|---|---|
| vector_size | |
Definition at line 78 of file vector_math.h.
|
inline |
Definition at line 81 of file vector_math.h.
|
inline |
Definition at line 82 of file vector_math.h.
|
inline |
Definition at line 83 of file vector_math.h.
|
inline |
Definition at line 84 of file vector_math.h.
|
inline |
Definition at line 85 of file vector_math.h.
|
inline |
Definition at line 86 of file vector_math.h.
| union { ... } |
| T detail::ivec2< T >::data[2] |
Definition at line 76 of file vector_math.h.
| T detail::ivec2< T >::x |
Definition at line 71 of file vector_math.h.
| T detail::ivec2< T >::y |
Definition at line 71 of file vector_math.h.