00001 /* 00002 Irrlicht Library Wrapper 00003 Created by: 00004 Nathan Adams 00005 Denzel Morris 00006 Copyright (C) 2007 00007 00008 This software is licensed under the GNU/GPL. 00009 This software may not be used for commerical purposes. 00010 */ 00011 00012 #ifndef IRRSPHERE_H 00013 #define IRRSPHERE_H 00014 /* We should include some basic functions */ 00015 #include <iostream> 00016 /* include strings */ 00017 #include <strings.h> 00018 #include <vector> 00019 00020 /* We have to include Irrlichts libs */ 00021 #include "IrrLibBase.h" 00022 #include "IrrData.h" 00023 #include <irrlicht.h> 00024 00025 //#include "IrrLib.h" 00026 00027 00028 class IrrSphere: public IrrLibBase 00029 { 00030 private: 00031 //irr::scene::ISceneNode* nodeNew[10]; 00032 irr::scene::ISceneNode* nodeNew; 00033 std::vector<irr::scene::ISceneNode*> sphereNodes; 00034 int numNodes; 00035 //irr::scene::ISceneManager* smgr; 00036 //irr::video::IVideoDriver* driver; 00037 public: 00038 //void IrrSphere::SetDriver(irr::video::IVideoDriver* driver); 00039 //void IrrSphere::SetSmgr(irr::scene::ISceneManager* smgr); 00040 IrrObj IrrSphere::CreateNewSphereNode(int x, int y, int z, irr::core::stringc texture, bool light); //this is going to take my advanced C++ skillz! 00041 irr::core::vector3df IrrSphere::GetSphereVector(int sphere); 00042 void IrrSphere::SetSphereVector(int sphere, irr::core::vector3df v); 00043 IrrSphere::IrrSphere(); 00044 //IrrSphere::IrrSphere(IrrLib*); 00045 IrrSphere::~IrrSphere(); 00046 }; 00047 00048 #endif
1.5.4