Remove unnecessary glew includes.
Remove copyright from Mesh.cpp Add default initializers for VertexAttribute
This commit is contained in:
parent
9730454b90
commit
3a54a37b06
@ -1,7 +1,3 @@
|
||||
//
|
||||
// Created by RED on 24.03.2025.
|
||||
//
|
||||
|
||||
#include "graphics/core/Mesh.hpp"
|
||||
|
||||
int MeshStats::meshesCount = 0;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
#include "MeshData.hpp"
|
||||
|
||||
template<typename VertexStructure>
|
||||
|
||||
@ -8,9 +8,9 @@
|
||||
|
||||
/// @brief Vertex attribute info
|
||||
struct VertexAttribute {
|
||||
uint32_t type;
|
||||
bool normalized;
|
||||
ubyte count;
|
||||
uint32_t type = 0;
|
||||
bool normalized = false;
|
||||
ubyte count = 0;
|
||||
|
||||
|
||||
[[nodiscard]] uint32_t size() const {
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
#include <vector>
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <GL/glew.h>
|
||||
#include <glm/vec3.hpp>
|
||||
|
||||
#include "graphics/core/MeshData.hpp"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user