add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
28
rawdata/objects/editor/cube.cpp
Normal file
28
rawdata/objects/editor/cube.cpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
MESH pCube1 {
|
||||
VERTEX_COUNT 8
|
||||
FACE_COUNT 12
|
||||
const Fvector vertices[VERTEX_COUNT] = {
|
||||
{-1.000000, 1.000000, -1.000000},
|
||||
{ 1.000000, -1.000000, -1.000000},
|
||||
{-1.000000, -1.000000, -1.000000},
|
||||
{ 1.000000, 1.000000, -1.000000},
|
||||
{-1.000000, 1.000000, 1.000000},
|
||||
{ 1.000000, 1.000000, 1.000000},
|
||||
{-1.000000, -1.000000, 1.000000},
|
||||
{ 1.000000, -1.000000, 1.000000},
|
||||
}
|
||||
const u16 faces[FACE_COUNT*3] = {
|
||||
0, 1, 2,
|
||||
3, 1, 0,
|
||||
4, 3, 0,
|
||||
5, 3, 4,
|
||||
6, 5, 4,
|
||||
7, 5, 6,
|
||||
2, 7, 6,
|
||||
1, 7, 2,
|
||||
3, 7, 1,
|
||||
5, 7, 3,
|
||||
4, 2, 6,
|
||||
0, 2, 4,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue