Initial commit: wowee native WoW 3.3.5a client

This commit is contained in:
Kelsi 2026-02-02 12:24:50 -08:00
commit ce6cb8f38e
147 changed files with 32347 additions and 0 deletions

View file

@ -0,0 +1,32 @@
#pragma once
#include <memory>
#include <glm/glm.hpp>
namespace wowee {
namespace rendering {
class Shader;
class Texture;
class Material {
public:
Material() = default;
~Material() = default;
void setShader(std::shared_ptr<Shader> shader) { this->shader = shader; }
void setTexture(std::shared_ptr<Texture> texture) { this->texture = texture; }
void setColor(const glm::vec4& color) { this->color = color; }
std::shared_ptr<Shader> getShader() const { return shader; }
std::shared_ptr<Texture> getTexture() const { return texture; }
const glm::vec4& getColor() const { return color; }
private:
std::shared_ptr<Shader> shader;
std::shared_ptr<Texture> texture;
glm::vec4 color = glm::vec4(1.0f);
};
} // namespace rendering
} // namespace wowee