git.ucc.asn.au
/
atyndall
/
cits2231.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
532e038
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 07:00:12 +0000
(15:00 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 07:00:12 +0000
(15:00 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
fb50b44
..
0820aec
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-396,9
+396,9
@@
void display() {
lightObjs[0].position[3] = 0.0;
\r
\r
/* Reposition the light source 1. */
\r
- lightObjs[1].position[0] =
12*cos(90)
;
\r
+ lightObjs[1].position[0] =
-5
;
\r
lightObjs[1].position[1] = 5;
\r
- lightObjs[1].position[2] =
0
;//12*sin(90);
\r
+ lightObjs[1].position[2] =
-5
;//12*sin(90);
\r
lightObjs[1].position[3] = 0.0;
\r
\r
//direction0[0] = lightPosition0[0];
\r
UCC
git Repository :: git.ucc.asn.au