more fixes
This commit is contained in:
1 parent
ad5e8dd012
commit
03355211ca
8 files changed
+141
-45
No files matched your search
@@ -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);
|
||||
};
|
||||
Reference in new issue
Block a user