MinecraftConsoles/Minecraft.Client/Vertex.cpp
Brayden M df180fabd2 refactor: Fix include paths for compatibility
MSVC allows backslashes and case-insensitive include paths, which causes
build failures on other compilers. This commit:
- Converts all include backslashes to forward slashes.
- Fixes capitalization mismatches to match the actual filesystem.
2026-03-14 00:42:04 -05:00

28 lines
479 B
C++

#include "stdafx.h"
#include "Vertex.h"
Vertex::Vertex(float x, float y, float z, float u, float v)
{
this->pos = Vec3::newPermanent(x,y,z);
this->u = u;
this->v = v;
}
Vertex *Vertex::remap(float u, float v)
{
return new Vertex(this, u, v);
}
Vertex::Vertex(Vertex *vertex, float u, float v)
{
this->pos = vertex->pos;
this->u = u;
this->v = v;
}
Vertex::Vertex(Vec3 *pos, float u, float v)
{
this->pos = pos;
this->u = u;
this->v = v;
}