From: <ob...@us...> - 2006-06-17 22:18:36
|
Revision: 24642 Author: obi666 Date: 2006-06-17 15:18:27 -0700 (Sat, 17 Jun 2006) ViewCVS: http://svn.sourceforge.net/crystal/?rev=24642&view=rev Log Message: ----------- - Piotr Obrzut fixes bullet plugin unused parameter/variable warnings Modified Paths: -------------- CS/trunk/docs/history.txt CS/trunk/plugins/physics/bullet/bullet.cpp Modified: CS/trunk/docs/history.txt =================================================================== --- CS/trunk/docs/history.txt 2006-06-17 21:50:34 UTC (rev 24641) +++ CS/trunk/docs/history.txt 2006-06-17 22:18:27 UTC (rev 24642) @@ -9,6 +9,7 @@ 17-Jun-2006 - Piotr Obrzut fixed phystut crash on exit problem (when running with bullet plugin) + - Piotr Obrzut fixes bullet plugin unused parameter/variable warnings 16-Jun-2006 - AndyDude fixed the MacOSX menu bug and launching in background bug. - AndyDude changed the non-error CoreAudio messages to be not so Modified: CS/trunk/plugins/physics/bullet/bullet.cpp =================================================================== --- CS/trunk/plugins/physics/bullet/bullet.cpp 2006-06-17 21:50:34 UTC (rev 24641) +++ CS/trunk/plugins/physics/bullet/bullet.cpp 2006-06-17 22:18:27 UTC (rev 24642) @@ -338,9 +338,10 @@ return false; } -bool csBulletRigidBody::AttachColliderCylinder (float length, float radius, - const csOrthoTransform& trans, float friction, float density, - float elasticity, float softness) +bool csBulletRigidBody::AttachColliderCylinder (float /*length*/, float /*radius*/, + const csOrthoTransform& /*trans*/, float /*friction*/, + float /*density*/, float /*elasticity*/, + float /*softness*/) { //if (pc->GetRigidBody ()->GetCollisionShape ()) // delete pc->GetCollisionShape (); @@ -353,8 +354,9 @@ } bool csBulletRigidBody::AttachColliderBox (const csVector3 &size, - const csOrthoTransform& trans, float friction, float density, - float elasticity, float softness) + const csOrthoTransform& /*trans*/, float friction, + float /*density*/, float /*elasticity*/, + float /*softness*/) { //if (pc->GetRigidBody ()->GetCollisionShape ()) // delete pc->GetCollisionShape (); @@ -368,9 +370,9 @@ return true; } -bool csBulletRigidBody::AttachColliderSphere (float radius, const csVector3 &offset, - float friction, float density, float elasticity, - float softness) +bool csBulletRigidBody::AttachColliderSphere (float radius, const csVector3 &/*offset*/, + float friction, float /*density*/, float /*elasticity*/, + float /*softness*/) { if (pc->GetRigidBody ()->GetCollisionShape ()) delete pc->GetCollisionShape (); @@ -457,8 +459,8 @@ return csVector3 (0); } -void csBulletRigidBody::SetProperties (float mass, const csVector3& center, - const csMatrix3& inertia) +void csBulletRigidBody::SetProperties (float mass, const csVector3& /*center*/, + const csMatrix3& /*inertia*/) { csBulletRigidBody::mass = mass; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |