git.ucc.asn.au
/
atyndall
/
cits2231.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[atyndall/cits2231.git]
/
scene.c
diff --git
a/scene.c
b/scene.c
index
d351afa
..
77d2c10
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-390,12
+390,9
@@
void display() {
SceneObject so = sceneObjs[i];
\r
\r
// Apply rotation vector
\r
SceneObject so = sceneObjs[i];
\r
\r
// Apply rotation vector
\r
- //GLfloat* rv = &so.rotation.vector;
\r
- printf("%f, %f, %f\n", so.rotation.vector[0], so.rotation.vector[1], so.rotation.vector[2]);
\r
glRotatef(so.rotation.amount, so.rotation.vector[0], so.rotation.vector[1], so.rotation.vector[2]);
\r
\r
// Apply scaling vector
\r
glRotatef(so.rotation.amount, so.rotation.vector[0], so.rotation.vector[1], so.rotation.vector[2]);
\r
\r
// Apply scaling vector
\r
- //GLfloat* sv = &so.scale;
\r
glScalef(so.scale[0], so.scale[1], so.scale[2]);
\r
\r
// Apply translation vector
\r
glScalef(so.scale[0], so.scale[1], so.scale[2]);
\r
\r
// Apply translation vector
\r
UCC
git Repository :: git.ucc.asn.au