include/shapes.h
branchpyrit
changeset 95 ca7d4c665531
parent 94 4c8abb8977dc
child 98 64638385798a
equal deleted inserted replaced
94:4c8abb8977dc 95:ca7d4c665531
    84 };
    84 };
    85 
    85 
    86 /**
    86 /**
    87  * list of shapes
    87  * list of shapes
    88  */
    88  */
    89 typedef vector<Shape*> ShapeList;
    89 typedef vector<const Shape*> ShapeList;
    90 
    90 
    91 /**
    91 /**
    92  * sphere shape
    92  * sphere shape
    93  */
    93  */
    94 class Sphere: public Shape
    94 class Sphere: public Shape