~azzar1/unity/fix-crash-acc-controller

« back to all changes in this revision

Viewing changes to unity-shared/RawPixel.cpp

RawPixel: no need to round here, EMConverter will do it

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
int RawPixel::CP(EMConverter::Ptr const& converter) const
41
41
{
42
 
  return std::round(converter->CP(raw_pixel_));
 
42
  return converter->CP(raw_pixel_);
43
43
}
44
44
 
45
45
int RawPixel::CP(double scale) const