Skip to content

Commit

Permalink
Merge pull request #10 from AWildErin/fix/array
Browse files Browse the repository at this point in the history
fix: Use std::arrray for RMesh textures
  • Loading branch information
AWildErin authored Sep 27, 2024
2 parents 08bf36f + 10ce18a commit 0494ac3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/cbreader/rmesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "cbreader/types.h"

#include <array>
#include <vector>
#include <string>

Expand Down Expand Up @@ -45,7 +46,7 @@ namespace rmesh

struct Surface
{
Texture textures[2];
std::array<Texture, 2> textures;

std::vector<Vertex> vertices;

Expand Down

0 comments on commit 0494ac3

Please sign in to comment.