mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 11:55:25 +02:00
fix float literal syntax
This commit is contained in:
parent
1008175a92
commit
63fb9b5503
1 changed files with 3 additions and 3 deletions
|
@ -21,14 +21,14 @@ namespace render {
|
|||
class HighlightStyle {
|
||||
public:
|
||||
struct RGBA {
|
||||
glm::vec3 color{ 1.f, 0.7f, 0.2f };
|
||||
glm::vec3 color{ 1.0f, 0.7f, 0.2f };
|
||||
float alpha{ 0.9f };
|
||||
|
||||
RGBA(const glm::vec3& c, float a) : color(c), alpha(a) {}
|
||||
};
|
||||
|
||||
RGBA _outlineUnoccluded{ { 1.f, 0.7f, 0.2f }, 0.9f };
|
||||
RGBA _outlineOccluded{ { 1.f, 0.7f, 0.2f }, 0.9f };
|
||||
RGBA _outlineUnoccluded{ { 1.0f, 0.7f, 0.2f }, 0.9f };
|
||||
RGBA _outlineOccluded{ { 1.0f, 0.7f, 0.2f }, 0.9f };
|
||||
RGBA _fillUnoccluded{ { 0.2f, 0.7f, 1.0f }, 0.0f };
|
||||
RGBA _fillOccluded{ { 0.2f, 0.7f, 1.0f }, 0.0f };
|
||||
|
||||
|
|
Loading…
Reference in a new issue