OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
detail::ivec2< T > Struct Template Reference

#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]
 
}; 
 

Detailed Description

template<typename T>
struct detail::ivec2< T >

Definition at line 65 of file vector_math.h.

Member Typedef Documentation

template<typename T>
typedef T detail::ivec2< T >::data_type

Definition at line 79 of file vector_math.h.

template<typename T>
typedef ivec2<T> detail::ivec2< T >::vector_type

Definition at line 80 of file vector_math.h.

Member Enumeration Documentation

template<typename T>
anonymous enum
Enumerator
vector_size 

Definition at line 78 of file vector_math.h.

Constructor & Destructor Documentation

template<typename T>
detail::ivec2< T >::ivec2 ( )
inline

Definition at line 81 of file vector_math.h.

template<typename T>
detail::ivec2< T >::ivec2 ( s)
inline

Definition at line 82 of file vector_math.h.

template<typename T>
detail::ivec2< T >::ivec2 ( x,
y 
)
inline

Definition at line 83 of file vector_math.h.

template<typename T>
detail::ivec2< T >::ivec2 ( const T *  vec)
inline

Definition at line 84 of file vector_math.h.

template<typename T>
detail::ivec2< T >::ivec2 ( vec2  s)
inline

Definition at line 85 of file vector_math.h.

Member Function Documentation

template<typename T>
detail::ivec2< T >::operator vec2 ( ) const
inline

Definition at line 86 of file vector_math.h.

Member Data Documentation

union { ... }
template<typename T>
T detail::ivec2< T >::data[2]

Definition at line 76 of file vector_math.h.

template<typename T>
T detail::ivec2< T >::x

Definition at line 71 of file vector_math.h.

template<typename T>
T detail::ivec2< T >::y

Definition at line 71 of file vector_math.h.


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