In article <o5na3v0s4oa527db5bp2229mqkaolse3p4@4ax.com> , ABX
<abx### [at] abxartpl> wrote:
> In files bbox.cpp and bsphere.cpp there is unnecessary conversion from int to
> float for multiplication value by 1.5 and then it is converted back for
> assignement to the same int variable. I'm talking about:
IIRC this code is in the sorting part of bounding and not speed critical.
Whenever possible readability should be given preference for non-critical
code.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|