|
From: Charles L. <cn...@us...> - 2009-04-22 06:01:39
|
Update of /cvsroot/hgengine/Mercury/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1194 Modified Files: BetaBetaMari.cpp Log Message: tweak direction Index: BetaBetaMari.cpp =================================================================== RCS file: /cvsroot/hgengine/Mercury/src/BetaBetaMari.cpp,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** BetaBetaMari.cpp 20 Apr 2009 21:37:49 -0000 1.26 --- BetaBetaMari.cpp 22 Apr 2009 06:01:33 -0000 1.27 *************** *** 138,143 **** --- 138,147 ---- DX = DXO; + //Move it in some. + DX *= 0.95; //Set the position of the newly attached object dGeomSetPosition( pHit2->m_vAllTransforms[i], DX.x, DX.y,DX.z ); + pHit2->SetRotX( rand()%360 ); + pHit2->SetRotY( rand()%360 ); } *************** *** 177,182 **** float fSizeHit = pHit->GetParameter( "Size" ).GetValueF(); ! if( fSizeHit != 0 ) ! LOG.Log( ssprintf( "minsize: %f", pow( fMariSize, 0.56 ) / 2.9 ) ); //Make sure we're allowed to suck it up if ( fSizeHit == 0 || fSizeHit > pow( fMariSize, 0.56 ) / 2.9 ) --- 181,186 ---- float fSizeHit = pHit->GetParameter( "Size" ).GetValueF(); ! // if( fSizeHit != 0 ) ! // LOG.Log( ssprintf( "minsize: %f", pow( fMariSize, 0.56 ) / 2.9 ) ); //Make sure we're allowed to suck it up if ( fSizeHit == 0 || fSizeHit > pow( fMariSize, 0.56 ) / 2.9 ) |