Skip to content

Example code doesn't work #3

Description

@TOertel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions