//
// Created by sebastian on 30.07.26.
//

#ifndef COLORRACE_MESHSECTION_H
#define COLORRACE_MESHSECTION_H


// engine/src/renderer/model/MeshSection.h
#pragma once
#include <string>
#include <memory>

#include "AABB.h"
#include "Material.h"
#include "glm/glm.hpp"

namespace engine {

    struct MeshSection {
        std::string name;
        unsigned int indexOffset; // in Indizes, nicht Bytes
        unsigned int indexCount;
        glm::vec3 centroid;
        AABB aabb;
        std::shared_ptr<Material> material;
    };

}


#endif //COLORRACE_MESHSECTION_H
