10 lines
182 B
C++
10 lines
182 B
C++
|
#include "../Include/Graphics/Material.h"
|
||
|
|
||
|
Material::Material(const Shader& shader) :
|
||
|
shader(shader) {
|
||
|
}
|
||
|
|
||
|
|
||
|
void Material::Apply() {
|
||
|
shader.setUniformVec3("Color", Color);
|
||
|
}
|