include/serialize.h
branchpyrit
changeset 80 907929fa9b59
parent 78 9569e9f35374
child 91 9d66d323c354
equal deleted inserted replaced
79:062b1c4143f7 80:907929fa9b59
    45 };
    45 };
    46 
    46 
    47 extern Indexer vertex_index, shape_index;
    47 extern Indexer vertex_index, shape_index;
    48 
    48 
    49 void resetSerializer();
    49 void resetSerializer();
    50 Shape *loadShape(istream &st);
    50 Shape *loadShape(istream &st, Material *mat);
    51 
    51 
    52 ostream & operator<<(ostream &st, Shape &o);
    52 ostream & operator<<(ostream &st, Shape &o);
    53 ostream & operator<<(ostream &st, Vertex &o);
    53 ostream & operator<<(ostream &st, Vertex &o);
    54 ostream & operator<<(ostream &st, Container &o);
    54 ostream & operator<<(ostream &st, Container &o);
    55 istream & operator>>(istream &st, Vector3 &v);
    55 istream & operator>>(istream &st, Vector3 &v);