mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:49:05 +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 {
|
class HighlightStyle {
|
||||||
public:
|
public:
|
||||||
struct RGBA {
|
struct RGBA {
|
||||||
glm::vec3 color{ 1.f, 0.7f, 0.2f };
|
glm::vec3 color{ 1.0f, 0.7f, 0.2f };
|
||||||
float alpha{ 0.9f };
|
float alpha{ 0.9f };
|
||||||
|
|
||||||
RGBA(const glm::vec3& c, float a) : color(c), alpha(a) {}
|
RGBA(const glm::vec3& c, float a) : color(c), alpha(a) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
RGBA _outlineUnoccluded{ { 1.f, 0.7f, 0.2f }, 0.9f };
|
RGBA _outlineUnoccluded{ { 1.0f, 0.7f, 0.2f }, 0.9f };
|
||||||
RGBA _outlineOccluded{ { 1.f, 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 _fillUnoccluded{ { 0.2f, 0.7f, 1.0f }, 0.0f };
|
||||||
RGBA _fillOccluded{ { 0.2f, 0.7f, 1.0f }, 0.0f };
|
RGBA _fillOccluded{ { 0.2f, 0.7f, 1.0f }, 0.0f };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue