Major cleanup.
Moved to namespace Cleanup includes
This commit is contained in:
@@ -3,22 +3,24 @@
|
||||
#include <glm\ext\matrix_float4x4.hpp>
|
||||
#include "BaseComponent.h"
|
||||
|
||||
class MeshComponent {
|
||||
namespace Nuake {
|
||||
class MeshComponent {
|
||||
|
||||
private:
|
||||
unsigned int VAO;
|
||||
unsigned int VBO;
|
||||
Ref<Material> m_Material;
|
||||
private:
|
||||
unsigned int VAO;
|
||||
unsigned int VBO;
|
||||
Ref<Material> m_Material;
|
||||
|
||||
void BuildTangents();
|
||||
public:
|
||||
void LoadModel(const std::string path);
|
||||
//void ProcessNode(aiNode* node, const aiScene* scene);
|
||||
MeshComponent();
|
||||
void BuildTangents();
|
||||
public:
|
||||
void LoadModel(const std::string path);
|
||||
//void ProcessNode(aiNode* node, const aiScene* scene);
|
||||
MeshComponent();
|
||||
|
||||
void SetMaterial(const std::string materialName);
|
||||
void Draw(glm::mat4 projection, glm::mat4 view, glm::mat4 transform);
|
||||
void DrawEditor();
|
||||
void SetMaterial(const std::string materialName);
|
||||
void Draw(glm::mat4 projection, glm::mat4 view, glm::mat4 transform);
|
||||
void DrawEditor();
|
||||
|
||||
void RenderSphere();
|
||||
};
|
||||
void RenderSphere();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user