Nigel Barink
16b61986a1
* Added Texures to the two sample cubes * Modified mesh structure - mesh now contains indices and vertices - Vertices contain vertices and uv's (later on they will also contain normals) Solution definitely not perfect and needs improvement.
18 lines
207 B
C++
18 lines
207 B
C++
#pragma once
|
|
#include <spdlog/spdlog.h>
|
|
#include <string>
|
|
|
|
|
|
class Texture {
|
|
public:
|
|
Texture(const std::string texturePath);
|
|
|
|
void Bind();
|
|
void Unbind();
|
|
|
|
|
|
private:
|
|
|
|
unsigned int Id;
|
|
|
|
}; |