Revision: 8522 http://playerstage.svn.sourceforge.net/playerstage/?rev=8522&view=rev Author: rtv Date: 2010-01-19 23:54:08 +0000 (Tue, 19 Jan 2010)
Log Message: ----------- fixed array-raytrace geometry to have a ray at each border of FOV, per patch #2912242 from Mathias Ludtke (pmrogan) Modified Paths: -------------- code/stage/trunk/libstage/world.cc Modified: code/stage/trunk/libstage/world.cc =================================================================== --- code/stage/trunk/libstage/world.cc 2010-01-19 23:46:59 UTC (rev 8521) +++ code/stage/trunk/libstage/world.cc 2010-01-19 23:54:08 UTC (rev 8522) @@ -642,7 +642,7 @@ for( uint32_t s=0; s < sample_count; s++ ) { - raypose.a = (s * fov / (double)sample_count) - starta; + raypose.a = (s * fov / (double)(sample_count-1)) - starta; samples[s] = Raytrace( raypose, range, func, model, arg, ztest ); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit