[dali_1.0.20] Merge branch 'tizen'
[platform/core/uifw/dali-core.git] / dali / internal / render / common / vertex.h
1 #ifndef __DALI_INTERNAL_VERTEX_H__
2 #define __DALI_INTERNAL_VERTEX_H__
3
4 /*
5  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 namespace Dali
22 {
23
24 namespace Internal
25 {
26
27 struct Vertex2D
28 {
29   float mX;
30   float mY;
31   float mU;
32   float mV;
33 };
34
35 struct Vertex3D
36 {
37   float mX;
38   float mY;
39   float mZ;
40   float mU;
41   float mV;
42 };
43
44 } // namespace Internal
45
46 } // namespace Dali
47
48 #endif // __DALI_INTERNAL_VERTEX_H__