xenviroment

main, controllers. search recoder c - js ->

class XEnvironment {
public:
    boost::ptr_vector<XObjectEye> eyes;
    boost::ptr_vector<XLight> lights;
    boost::ptr_vector<XSolidObject> solidObjects;
    std::vector<XObject> objects;
    XRender render;

    bool LoadEnv(const char* filename);
    void CreateScene();
    void Draw();

    bool isSolidObject(char * name);
    bool deleteSolidObject(char * name);
    XSolidObject * getSolidObject(char * name);
    void saveObjects(char * filename);
    bool loadObjects(char * filename);
    XEnvironment();
    XEnvironment(const XEnvironment& orig);
    virtual ~XEnvironment();
private:

авторизируйтесь

Авторизация