mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-18 17:37:30 +02:00
Member initialization respecting the standard
This commit is contained in:
parent
8a8411c8d1
commit
103e1c76b3
1 changed files with 4 additions and 4 deletions
|
@ -147,14 +147,14 @@ public:
|
|||
opacity(opacity) {}
|
||||
|
||||
glm::vec3 diffuseColor{ 1.0f };
|
||||
float diffuseFactor{ 1.0f };
|
||||
float diffuseFactor = 1.0f;
|
||||
glm::vec3 specularColor{ 0.02f };
|
||||
float specularFactor{ 1.0f };
|
||||
float specularFactor = 1.0f;
|
||||
|
||||
glm::vec3 emissiveColor{ 0.0f };
|
||||
glm::vec2 emissiveParams{ 0.0f, 1.0f };
|
||||
float shininess{ 23.0f };
|
||||
float opacity{ 1.0f };
|
||||
float shininess = 23.0f;
|
||||
float opacity = 1.0f;
|
||||
|
||||
QString materialID;
|
||||
model::MaterialPointer _material;
|
||||
|
|
Loading…
Reference in a new issue