4jcraft/targets/minecraft/client/renderer/texture/SimpleIcon.h

12 lines
339 B
C++

#pragma once
#include <string>
#include "StitchedTexture.h"
// 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::string& name, const std::string& filename, float u0,
float v0, float u1, float v1);
};