Mali OpenGL ES SDK  2.0.0
A simple framework to aid development of OpenGL ES applications targeting ARM Mali platforms.
 All Classes Files Functions Variables Enumerations Enumerator
VectorTypes.h
Go to the documentation of this file.
1 /*
2  * This confidential and proprietary software may be used only as
3  * authorised by a licensing agreement from ARM Limited
4  * (C) COPYRIGHT 2012 ARM Limited
5  * ALL RIGHTS RESERVED
6  * The entire notice above must be reproduced on all authorised
7  * copies and copies may only be made to the extent permitted
8  * by a licensing agreement from ARM Limited.
9  */
10 
11 #ifndef VECTORTYPES_H
12 #define VECTORTYPES_H
13 
19 namespace MaliSDK
20 {
26  typedef struct
27  {
28  int x, y;
29  } Vec2;
30 
36  typedef struct
37  {
38  int x, y, z;
39  } Vec3;
40 
46  typedef struct
47  {
48  int x, y, z, w;
49  } Vec4;
50 
51 
57  typedef struct
58  {
59  float x, y;
60  } Vec2f;
61 
67  typedef struct
68  {
69  float x, y, z;
70  } Vec3f;
71 
72 
78  typedef struct
79  {
80  float x, y, z, w;
81  } Vec4f;
82 }
83 #endif /* VECTORTYPES_H */
84