Remove unnecessary glew includes.

Remove copyright from Mesh.cpp
Add default initializers for VertexAttribute
This commit is contained in:
REDxEYE 2025-04-03 14:26:25 +03:00
parent 9730454b90
commit 3a54a37b06
4 changed files with 3 additions and 10 deletions

View File

@ -1,7 +1,3 @@
//
// Created by RED on 24.03.2025.
//
#include "graphics/core/Mesh.hpp"
int MeshStats::meshesCount = 0;

View File

@ -1,7 +1,5 @@
#pragma once
#include <GL/glew.h>
#include "MeshData.hpp"
template<typename VertexStructure>

View File

@ -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 {

View File

@ -3,7 +3,6 @@
#include <vector>
#include <array>
#include <memory>
#include <GL/glew.h>
#include <glm/vec3.hpp>
#include "graphics/core/MeshData.hpp"