mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Remove unnecessary glew includes.
Remove copyright from Mesh.cpp Add default initializers for VertexAttribute
This commit is contained in:
parent
9730454b90
commit
3a54a37b06
4 changed files with 3 additions and 10 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue