/* Irrlicht Library Wrapper Created by: Nathan Adams Copyright (C) 2008 This software is licensed under the GNU/GPL. This software may not be used for commerical purposes. */ /* We should include some basic functions */ #include /* include strings */ #include #include /* We have to include Irrlichts libs */ #include //#include "IrrLib.h" #include #include "IrrPhysics.h" using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; using namespace std; NewtonWorld * IrrPhysics::nworld; IrrPhysics::IrrPhysics() { this->nworld = NewtonCreate(NULL,NULL); NewtonSetSolverModel(this->nworld, 1); } IrrPhysics::~IrrPhysics() { NewtonDestroy(this->nworld); }