fwcd / fwcd/swift-graphics

Example code doesn't work

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
31
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.