Removed explicit from Color constructor

dev
Tomasz Kapuściński 2022-03-09 17:08:51 +01:00
parent 1a7346b845
commit d7a22bf74c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ namespace Gfx
struct Color : glm::vec4
{
//! Constructor; default values are (0,0,0,0) = black
explicit Color(float aR = 0.0f, float aG = 0.0f, float aB = 0.0f, float aA = 0.0f)
Color(float aR = 0.0f, float aG = 0.0f, float aB = 0.0f, float aA = 0.0f)
: glm::vec4(aR, aG, aB, aA) {}
inline Color Inverse() const