Well, for this case you could also argue:

if ba==0 then we don't have to handle the division b/ba, because

aa*ba * (1 - std::min (1.0f, (1 - b/ba)*(aa/a))) =
aa*0   * (1 - std::min (1.0f, (1 - b/0)*(aa/a))) =
0
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to