SDK Question
Archives Forums/Blitz3D SDK Programming/SDK Question| 
 | ||
| Hello, I haven't bought the SDK yet and I have a question. Will I be able to manage Blitz types using stl vectors? Example: vector<BBEntityMesh> kitchenware; kitchenware.push_back(bbLoadMesh( "media/teapot/teapot.x")); Kind regards Reda Borchardt | 
| 
 | ||
| I think an implementation like this will not have any problem: 
class AClass
{
  public:
    AClass();
    AClass(const char *filename);
    ~AClass();
.
.
.
  protected:
    BBEntity mesh;
}
.
.
.
then 
vector<AClass *> kitchenware;
kitchenware.push_back((AClass *)new AClass("media/teapot/teapot.x"));
You must implement the second AClass constructor to build the mesh using the bbLoadMesh function | 
| 
 | ||
| Thank you very much for your prompt reply. |