more fixes

This commit is contained in:
Tropical
2026-03-22 03:13:45 -05:00
parent ad5e8dd012
commit 03355211ca
8 changed files with 141 additions and 45 deletions

View File

@@ -1,11 +1,11 @@
#pragma once
#include "../Platform/stdafx.h"
#include "SimpleIcon.h"
#include "../Textures/Stitching/StitchedTexture.h"
SimpleIcon::SimpleIcon(const std::wstring& name, float U0, float V0, float U1,
float V1)
: StitchedTexture(name) {
u0 = U0;
u1 = U1;
v0 = V0;
v1 = V1;
}
// 4J Added this class to store the uv data that we have pre-calculated and
// loaded from a file
class SimpleIcon : public StitchedTexture {
public:
SimpleIcon(const std::wstring& name, const std::wstring& filename, float u0,
float v0, float u1, float v1);
};