This repository has been archived on 2023-10-28. You can view files and clone it, but cannot push or open issues or pull requests.
frostbite/snowlib/Mesh.h
2020-02-06 00:23:46 +00:00

21 lines
333 B
C++

#pragma once
#include "VertexDefs.h"
#include "VertexWeight.h"
#include <vector>
class Mesh
{
public:
std::vector<int> triangleIndices;
FloatVector* positions;
FloatVector* normals;
FloatPoint* uvCoords;
int numVertices;
std::vector<VertexWeight> vertexWeights;
void adjustUVs(int textureWidth, int textureHeight);
};