00001 00010 #ifndef WORLD_H 00011 #define WORLD_H 00012 00013 #include "WorldTranslate.H" 00014 00015 namespace InSpace { 00016 00017 class WORLD 00018 { 00019 public: 00020 00021 static void moveBy(Wvec v) { 00022 ((WorldTranslate*)(MathTranslate::instance()))->moveWorld(v); 00023 } 00024 static void moveBy(ROOMvec v) { 00025 ((WorldTranslate*)(MathTranslate::instance()))->moveWorld(v); 00026 } 00027 static void moveBy(Wtransf m) { 00028 ((WorldTranslate*)(MathTranslate::instance()))->moveWorld(m); 00029 } 00030 00031 static int paused(); 00032 static void setPaused(int p); 00033 00034 static void writeVRML(str_ptr filename); 00035 static void writeCPS(str_ptr filename); 00036 00037 protected: 00038 00039 static int _paused; 00040 00041 }; 00042 00043 } 00044 #endif