src/vamos/body/Exerter.cc

Go to the documentation of this file.
00001 //      Exerter.cc - something that can exert forces, impulses, and torques.
00002 //
00003 //  Copyright (C) 2002 Sam Varner
00004 //
00005 //  This file is part of Vamos Automotive Simulator.
00006 //
00007 //  This program is free software; you can redistribute it and/or modify
00008 //  it under the terms of the GNU General Public License as published by
00009 //  the Free Software Foundation; either version 2 of the License, or
00010 //  (at your option) any later version.
00011 //
00012 //  This program is distributed in the hope that it will be useful,
00013 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 //  GNU General Public License for more details.
00016 //
00017 //  You should have received a copy of the GNU General Public License
00018 //  along with this program; if not, write to the Free Software
00019 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 
00021 #include <vamos/body/Exerter.h>
00022 
00023 // Set the force, impulse and torque to zero;
00024 void Vamos_Body::Exerter::
00025 reset ()
00026 {
00027   m_force.zero ();
00028   m_impulse.zero ();
00029   m_torque.zero ();
00030 }
00031 

Generated on Thu Oct 19 04:05:55 2006 by  doxygen 1.4.6