Re: [Aqsis-commits] [SCM] Aqsis Renderer branch, master, updated. CVS_Tip-2524-g0164b10

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [Aqsis-commits] [SCM] Aqsis Renderer branch, master, updated. CVS_Tip-2524-g0164b10

by Chris Foster-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Paul,

> indexT0 = std::max(0, static_cast<TqInt>(lfloor((time0 - opentime) * timePerSample)));

how about the following, which is a bit easier on the eyes:

max<TqInt>(0, lfloor((time0 - opentime) * timePerSample))

(btw, this uses Aqsis::max from aqsis/math/math.h)

~Chris.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Aqsis-development mailing list
Aqsis-development@...
https://lists.sourceforge.net/lists/listinfo/aqsis-development