Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add triangles #31

Merged
merged 2 commits into from
Jul 20, 2021
Merged

Add triangles #31

merged 2 commits into from
Jul 20, 2021

Conversation

albinahlback
Copy link
Contributor

Added triangle, which can be filled.

Resolves #30

Since polygons are essential in graphics, I added triangle as a struct
and added draw-functionality. Furthermore, I added getPos for this
struct.
src/utility.jl Outdated Show resolved Hide resolved
src/utility.jl Outdated Show resolved Hide resolved
src/utility.jl Outdated Show resolved Hide resolved
@albinahlback
Copy link
Contributor Author

As you said, @aviks, (the presented format of) the utility.jl is unnecessary. I removed it completely.

@aviks aviks merged commit a7ed44c into aviks:master Jul 20, 2021
@aviks
Copy link
Owner

aviks commented Jul 20, 2021

Thanks. Sorry it took a long time for me to get back to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add triangle or polygons
2 participants