Kinetic Visualization
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
Coordinaten.h
1
#pragma once
2
3
#include "GLM/gtx.hpp"
4
#include "GLM/gtc.hpp"
5
7
static
const
glm::vec2 quadTexCoord[4] =
8
{
9
glm::vec2( 0, 0),
10
glm::vec2( 1, 0),
11
glm::vec2( 1, 1),
12
glm::vec2( 0, 1),
13
};
14
16
static
const
int
quadIndices[6] =
17
{
18
0, 1, 2, 0, 2, 3
19
};
20
22
static
const
glm::vec3 cubeTexCoord[24] =
23
{
24
//back
25
glm::vec3(0, 0, 1),
26
glm::vec3(1, 0, 1),
27
glm::vec3(1, 1, 1),
28
glm::vec3(0, 1, 1),
29
30
//bottom
31
glm::vec3(0, 0, 1),
32
glm::vec3(1, 0, 1),
33
glm::vec3(1, 0, 0),
34
glm::vec3(0, 0, 0),
35
36
//right
37
glm::vec3(1, 0, 1),
38
glm::vec3(1, 1, 1),
39
glm::vec3(1, 1, 0),
40
glm::vec3(1, 0, 0),
41
42
//top
43
glm::vec3(1, 1, 1),
44
glm::vec3(0, 1, 1),
45
glm::vec3(0, 1, 0),
46
glm::vec3(1, 1, 0),
47
48
//left
49
glm::vec3(0, 1, 1),
50
glm::vec3(0, 0, 1),
51
glm::vec3(0, 0, 0),
52
glm::vec3(0, 1, 0),
53
54
//front
55
glm::vec3(0, 0, 0),
56
glm::vec3(1, 0, 0),
57
glm::vec3(1, 1, 0),
58
glm::vec3(0, 1, 0)
59
};
60
62
static
const
int
cubeIndices[36] =
63
{
64
0, 2, 1, 0, 3, 2,
65
4, 5, 6, 4, 6, 7,
66
8, 9, 10, 8, 10, 11,
67
12, 13, 14, 12, 14, 15,
68
16, 17, 18, 16, 18, 19,
69
20, 21, 22, 20, 22, 23,
70
};
Generated on Fri Jun 29 2012 09:13:03 for Kinetic Visualization by
1.8.1.1