Trying to use an external package with Swift for the first time, so maybe it's just my lack of experience...
I figured out how to add the package (with help from bug #1 ) , but the code as written causes:
error: cannot find 'Vec2' in scope graphics.draw(Text("Test", at: Vec2(x: 0, y: 15)))
If I need another library, including the imports explicitly in the example might be useful for others.
Trying to use an external package with Swift for the first time, so maybe it's just my lack of experience...
I figured out how to add the package (with help from bug #1 ) , but the code as written causes:
error: cannot find 'Vec2' in scope graphics.draw(Text("Test", at: Vec2(x: 0, y: 15)))If I need another library, including the imports explicitly in the example might be useful for others.