Commit 0ae7ab82 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed color coder uc function

parent 055d441b
...@@ -101,7 +101,7 @@ ACG::Vec3uc ColorCoder::color(float _v) const ...@@ -101,7 +101,7 @@ ACG::Vec3uc ColorCoder::color(float _v) const
c = color_signed(_v); c = color_signed(_v);
else else
c = color_unsigned(_v); 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 /// color coding
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment