19 lines
288 B
C
19 lines
288 B
C
|
#pragma once
|
||
|
|
||
|
namespace Gedeng {
|
||
|
|
||
|
class Material {
|
||
|
public:
|
||
|
Material() = default;
|
||
|
|
||
|
Material(float diffuse, float specular) : diffuse(diffuse), specular(specular) {
|
||
|
}
|
||
|
|
||
|
float diffuse = 0.8;
|
||
|
|
||
|
float specular = 0.2;
|
||
|
|
||
|
float normal_scale = 3.0;
|
||
|
};
|
||
|
|
||
|
} // namespace Gedeng
|