git.ucc.asn.au
/
matches
/
honours.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Parallel Programming - Commit before I break everything
[matches/honours.git]
/
course
/
semester2
/
pprog
/
assignment1
/
single-thread
/
graphics.c
diff --git
a/course/semester2/pprog/assignment1/single-thread/graphics.c
b/course/semester2/pprog/assignment1/single-thread/graphics.c
index
864ff91
..
6fdb581
100644
(file)
--- a/
course/semester2/pprog/assignment1/single-thread/graphics.c
+++ b/
course/semester2/pprog/assignment1/single-thread/graphics.c
@@
-136,6
+136,7
@@
void Graphics_Display()
{
Body * b = universe.body+i;
glColor3f(0.0f, b->mass/1e11*100, 0.0f);
+ //glColor3f(1.0f, 0.0f, 0.0f);
glPushMatrix(); // to save the current matrix
glTranslated(scale*b->x[0], scale*b->x[1], scale*b->x[2]);
glutSolidSphere (BALL_SIZE, 10, 10);
UCC
git Repository :: git.ucc.asn.au