mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #557] [MERGED] [enhancement] New Graphics implementation with algorithm for spirograph #982
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/557
Author: @kvedala
Created: 7/4/2020
Status: ✅ Merged
Merged: 7/10/2020
Merged by: @kvedala
Base:
master← Head:graphics/spirograph📝 Commits (10+)
fd2e1b1skeleton of spirographd80cc2aadd graphics to cmakead013c6updating DIRECTORY.md3544bc2added cmake to graphics folder6cfe6caadd stub test functionfd4ac94working program3737bd7set pre-processor macro if GLUT is available97eb876use snprintf804ffd6conditional include for mac1580fa4corrected conditional include for mac📊 Changes
5 files changed (+423 additions, -34 deletions)
View changed files
📝
.gitpod.dockerfile(+9 -7)📝
CMakeLists.txt(+35 -27)📝
DIRECTORY.md(+3 -0)➕
graphics/CMakeLists.txt(+88 -0)➕
graphics/spirograph.c(+288 -0)📄 Description
Description of Change
Implementation tested with and without OpenGL on Windows, Linux and MacOS.
Note that this can run without OpenGL. If GLUT library is available, will automatically compile for OpenGL.
See the analogous pull request for more details and discussion
References
Checklist
Notes:
Should this be considered as an algorithm for this repo?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.