Remove initial property defaults

This commit is contained in:
Rob Loach
2022-05-16 04:10:24 -04:00
committed by GitHub
parent fd436de602
commit 5f63d732b2

View File

@@ -132,11 +132,11 @@ class Text {
::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
}
std::string text = "";
float fontSize = 10;
::Color color = WHITE;
::Font font = ::GetFontDefault();
float spacing = 0;
std::string text;
float fontSize;
::Color color;
::Font font;
float spacing;
};
} // namespace raylib