00001 /*************************************************************************** 00002 * This file is part of OpenCAL: Open Computer Animation Library * 00003 * I created OpenCAL as my master's thesis Computer Science (multimedia) * 00004 * at the tUL university in Diepenbeek, Belgium * 00005 * * 00006 * Copyright (C) 2003-2004 by Jeroen Dierckx * 00007 * jeroen.dierckx@student.luc.ac.be * 00008 * * 00009 ***************************************************************************/ 00010 00011 // Includes 00012 #include "PhysicalObject.h" 00013 using namespace OpenCAL; 00014 00015 using namespace std; 00016 00017 00018 /****************************** 00019 * Constructors and destructor * 00020 ******************************/ 00021 00022 PhysicalObject::PhysicalObject(System *parent, float mass) 00023 : Object(parent), Physical(mass) 00024 { 00025 #ifdef VERBOSE 00026 Debug::print("PhysicalObject constructor", 2); 00027 #endif // VERBOSE 00028 //cout << "mass = " << mass << endl; 00029 } 00030 00031 PhysicalObject::~PhysicalObject() 00032 { 00033 #ifdef VERBOSE 00034 Debug::print("PhysicalObject destructor", 2); 00035 #endif // VERBOSE 00036 } 00037 00038 00039 /************************ 00040 * Get and set functions * 00041 ************************/