Update of /cvsroot/playerstage/code/stage/libstageplugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20465/libstageplugin
Modified Files:
Tag: opengl
p_laser.cc
Log Message:
working on collision detection
Index: p_laser.cc
===================================================================
RCS file: /cvsroot/playerstage/code/stage/libstageplugin/Attic/p_laser.cc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** p_laser.cc 27 Nov 2007 05:36:02 -0000 1.1.2.2
--- p_laser.cc 27 Nov 2007 07:03:33 -0000 1.1.2.3
***************
*** 52,58 ****
void InterfaceLaser::Publish( void )
{
-
-
StgModelLaser* mod = (StgModelLaser*)this->mod;
if( mod->samples == NULL )
return;
--- 52,58 ----
void InterfaceLaser::Publish( void )
{
StgModelLaser* mod = (StgModelLaser*)this->mod;
+
+ // don't publish anything until we have some real data
if( mod->samples == NULL )
return;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit