Exemplo n.º 1
0
FProduct* FLogistics::addProduct() {
    FProduct* p = new FProduct();
    objects[p->getID()] = p;
    return p;
}
Exemplo n.º 2
0
FProduct* FLogistics::addProduct(OSG::VRTransformPtr t) {
    FProduct* p = new FProduct();
    objects[p->getID()] = p;
    if (t) p->setTransformation(t);
    return p;
}