projects
/
mussa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c087c60
)
colors should default to being visible
author
Diane Trout
<diane@caltech.edu>
Wed, 4 Oct 2006 01:01:09 +0000
(
01:01
+0000)
committer
Diane Trout
<diane@caltech.edu>
Wed, 4 Oct 2006 01:01:09 +0000
(
01:01
+0000)
alpha of 1 is visible, 0 is invisible. having a default of invisible
is confusing.
alg/color.hpp
patch
|
blob
|
history
diff --git
a/alg/color.hpp
b/alg/color.hpp
index 78b13cf99db4c5b671f19667de3b6a23c98bef29..abf8b686994ff12c775ce32a3301a51dcada84ec 100644
(file)
--- a/
alg/color.hpp
+++ b/
alg/color.hpp
@@
-14,10
+14,10
@@
public:
Color();
Color(const Color &);
//! initialize with red, green, blue, alpha
- Color(float r, float g, float b, float a=
0
.0);
+ Color(float r, float g, float b, float a=
1
.0);
//! set all channels simultaneously
- void set(float r, float g, float b, float a=
0
.0);
+ void set(float r, float g, float b, float a=
1
.0);
//! return an array of 4 colors (stored by class)
const float* const get() const;
void setR(float);