Space-Project/src/Box.cpp
2021-01-16 17:11:39 +01:00

104 lines
2.1 KiB
C++

// dane 36 wierzcholkow i kolorow opisujace model pudelka
const float boxPositions[] = {
0.25f, 0.25f, 0.75f, 1.0f,
0.25f, -0.25f, 0.75f, 1.0f,
-0.25f, 0.25f, 0.75f, 1.0f,
0.25f, -0.25f, 0.75f, 1.0f,
-0.25f, -0.25f, 0.75f, 1.0f,
-0.25f, 0.25f, 0.75f, 1.0f,
0.25f, 0.25f, -0.75f, 1.0f,
-0.25f, 0.25f, -0.75f, 1.0f,
0.25f, -0.25f, -0.75f, 1.0f,
0.25f, -0.25f, -0.75f, 1.0f,
-0.25f, 0.25f, -0.75f, 1.0f,
-0.25f, -0.25f, -0.75f, 1.0f,
-0.25f, 0.25f, 0.75f, 1.0f,
-0.25f, -0.25f, 0.75f, 1.0f,
-0.25f, -0.25f, -0.75f, 1.0f,
-0.25f, 0.25f, 0.75f, 1.0f,
-0.25f, -0.25f, -0.75f, 1.0f,
-0.25f, 0.25f, -0.75f, 1.0f,
0.25f, 0.25f, 0.75f, 1.0f,
0.25f, -0.25f, -0.75f, 1.0f,
0.25f, -0.25f, 0.75f, 1.0f,
0.25f, 0.25f, 0.75f, 1.0f,
0.25f, 0.25f, -0.75f, 1.0f,
0.25f, -0.25f, -0.75f, 1.0f,
0.25f, 0.25f, -0.75f, 1.0f,
0.25f, 0.25f, 0.75f, 1.0f,
-0.25f, 0.25f, 0.75f, 1.0f,
0.25f, 0.25f, -0.75f, 1.0f,
-0.25f, 0.25f, 0.75f, 1.0f,
-0.25f, 0.25f, -0.75f, 1.0f,
0.25f, -0.25f, -0.75f, 1.0f,
-0.25f, -0.25f, 0.75f, 1.0f,
0.25f, -0.25f, 0.75f, 1.0f,
0.25f, -0.25f, -0.75f, 1.0f,
-0.25f, -0.25f, -0.75f, 1.0f,
-0.25f, -0.25f, 0.75f, 1.0f,
};
const float boxColors[] = {
0.0f, 0.0f, 1.0f, 1.0f,
0.0f, 0.0f, 1.0f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