summaryrefslogtreecommitdiff
path: root/src/models/floor_data.c
blob: 474a9d11ccf6fffa3b5f9c16eca7aefe129a1dcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Tuxánci 2 - A first person shooter
 * Copyright (C) 2025-2026  Connor Thomson
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

#include "models/floor_data.h"

const float ta_floor_positions[][TA_FLOOR_DIMENSION] = {
    {-10.0f, 0.0f, -10.0f},
    {-10.0f, 0.0f,  10.0f},
    { 10.0f, 0.0f, -10.0f},
    { 10.0f, 0.0f,  10.0f}
};

const unsigned int ta_floor_faces[][TA_FLOOR_DIMENSION] = {
    {0u, 1u, 2u},
    {3u, 2u, 1u}
};

const size_t ta_floor_position_count = sizeof(ta_floor_positions) / sizeof(ta_floor_positions[0]);
const size_t ta_floor_face_count     = sizeof(ta_floor_faces)     / sizeof(ta_floor_faces[0]);