Can render SVGs that have relative sizes, also clip SVGs that go out of bounds
This commit is contained in:
parent
91603e1fc1
commit
d91c7e987f
10 changed files with 23 additions and 12 deletions
|
|
@ -87,7 +87,7 @@ class DrawingProgram {
|
|||
struct GlobalControls {
|
||||
float relativeWidth = 15.0f;
|
||||
|
||||
Vector4f foregroundColor{0.9f, 0.9f, 0.9f, 1.0f};
|
||||
Vector4f foregroundColor{1.0f, 1.0f, 1.0f, 1.0f};
|
||||
Vector4f backgroundColor{0.0f, 0.0f, 0.0f, 1.0f};
|
||||
WorldVec previousMouseWorldPos = {0, 0};
|
||||
WorldVec currentMouseWorldPos = {0, 0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue