BLT-With-Graphics-Template/include/blt/gfx/loader/obj_loader.h

39 lines
1.1 KiB
C
Raw Normal View History

2024-01-02 17:10:29 -05:00
/*
* <Short Description>
* Copyright (C) 2024 Brett Terpstra
*
* 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/>.
*/
#ifndef BLT_WITH_GRAPHICS_OBJ_LOADER_H
#define BLT_WITH_GRAPHICS_OBJ_LOADER_H
#include "blt/math/vectors.h"
namespace blt::gfx
{
typedef blt::vec4 vertex_t;
typedef blt::vec3 uv_t;
typedef blt::vec3 normal_t;
struct face_t
{
std::int32_t vertex, uv, normal;
};
}
#endif //BLT_WITH_GRAPHICS_OBJ_LOADER_H