Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
added a hello world program
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
# compgeoproject | ||
# Half Edge Data Structuret | ||
|
||
Concept this program will illustrate | ||
------------------------------------ | ||
|
||
The user interaction | ||
-------------------- | ||
|
||
GUI Description | ||
--------------- | ||
|
||
Authors | ||
-------- | ||
James Boive | ||
Joey Muller | ||
Connor Riley |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
void settings() { | ||
size(500, 500, P3D); // 3D env | ||
} | ||
void setup() { | ||
background(255); | ||
fill(0,0); | ||
} | ||
|
||
void draw() { | ||
fill(0,0,255,40); | ||
noStroke(); | ||
pushMatrix(); // store the default translation matrix | ||
translate(width/2, height/2,0); // alter the current translation | ||
sphere(100); //place the sphere in center of current translation | ||
popMatrix(); // return to default translation | ||
} |