From Michael Platings, The attached file fixes 2 issues: 1) some time values were passed as floats, reducing accuracy. 2) comparisons done between doubles and floats gave different results so time < endtime evaluated to false the first time it was checked (with doubles), and true the second time it was checked (with time having been converted to a float). This consequently resulted in an array-out-of-bounds crash
From Michael Platings, The attached file fixes 2 issues:
1) some time values were passed as floats, reducing accuracy.
2) comparisons done between doubles and floats gave different results so time < endtime evaluated to false the first time it was checked (with doubles), and true the second time it was checked (with time having been converted to a float). This consequently resulted in an array-out-of-bounds crash

marchelbling/osg,openscenegraph/osg,openscenegraph/osg,artoolkit/osg,artoolkit/osg,scrawl/osg,scrawl/osg,tomasthoresen/osg,scrawl/osg,jtorresfabra/osg,jtorresfabra/osg,jtorresfabra/osg,scrawl/osg,artoolkit/osg,marchelbling/osg,tomasthoresen/osg,marchelbling/osg,marchelbling/osg,openscenegraph/osg,openscenegraph/osg,jtorresfabra/osg,artoolkit/osg,tomasthoresen/osg,tomasthoresen/osg