Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
0ae7ab82
Commit
0ae7ab82
authored
Oct 21, 2016
by
Jan Möbius
Browse files
Fixed color coder uc function
parent
055d441b
Changes
1
Show whitespace changes
Inline
Side-by-side
ACG/Utils/ColorCoder.cc
View file @
0ae7ab82
...
...
@@ -101,7 +101,7 @@ ACG::Vec3uc ColorCoder::color(float _v) const
c
=
color_signed
(
_v
);
else
c
=
color_unsigned
(
_v
);
return
(
ACG
::
Vec3uc
(
c
[
0
],
c
[
1
],
c
[
2
])
/
255.
f
);
return
(
ACG
::
Vec3uc
(
c
[
0
],
c
[
1
],
c
[
2
])
);
}
/// color coding
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment