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:
39c33ee
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Wed, 19 Oct 2011 12:16:38 +0000
(20:16 +0800)
committer
Ash Tyndall
<
[email protected]
>
Wed, 19 Oct 2011 12:16:38 +0000
(20:16 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
88cb621
..
c9149ff
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-614,11
+614,11
@@
void drawLine() {
glDisable(GL_TEXTURE_2D);
\r
glEnable(GL_BLEND);
\r
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
\r
glDisable(GL_TEXTURE_2D);
\r
glEnable(GL_BLEND);
\r
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
\r
- glColor4ub( 0.0, 0.0, 0.0, 0.
0
);
\r
+ glColor4ub( 0.0, 0.0, 0.0, 0.
5
);
\r
\r
glBegin(GL_LINES);
\r
\r
glBegin(GL_LINES);
\r
- glVertex3i( 10.0, 0, 0.0);
\r
- glVertex3i( -10.0, 0, 0.0);
\r
+ glVertex3i( 10.0, 0
.1
, 0.0);
\r
+ glVertex3i( -10.0, 0
.1
, 0.0);
\r
glEnd();
\r
\r
glDisable(GL_BLEND);
\r
glEnd();
\r
\r
glDisable(GL_BLEND);
\r
UCC
git Repository :: git.ucc.asn.au