00001 /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- 00002 this file is part of rcssserver3D 00003 Fri May 9 2003 00004 Copyright (C) 2003 Koblenz University 00005 $Id: fixedjoint.cpp,v 1.2 2004/05/01 11:30:31 rollmark Exp $ 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; version 2 of the License. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 */ 00020 #include "fixedjoint.h" 00021 #include <zeitgeist/logserver/logserver.h> 00022 00023 using namespace oxygen; 00024 using namespace boost; 00025 using namespace salt; 00026 00027 FixedJoint::FixedJoint() : Joint() 00028 { 00029 } 00030 00031 FixedJoint::~FixedJoint() 00032 { 00033 } 00034 00035 void FixedJoint::OnLink() 00036 { 00037 dWorldID world = GetWorldID(); 00038 if (world == 0) 00039 { 00040 return; 00041 } 00042 00043 mODEJoint = dJointCreateFixed(world, 0); 00044 } 00045 00046 void FixedJoint::SetParameter(int /*parameter*/, float /*value*/) 00047 { 00048 // no ode set param fkt. defined 00049 } 00050 00051 float FixedJoint::GetParameter(int /*parameter*/) 00052 { 00053 // no ode get param fkt. defined 00054 return 0; 00055 } 00056