ShockShapes/Scene.cpp
int Scene::addObject(Geometry *g)
{
	int id = objects.size();
	objects.push_back(g);

	return id;
}
//Add a geometric object to the scene
Add a geometric object to the scene
Add a geometric object to the scene
int Scene::addObject(Geometry *g)
{
	int id = objects.size();
	objects.push_back(g);
	return id;
}
int Scene :: addObject ( Geometry * g ) { int id = objects . size ( ) ; objects . push_back ( g ) ; return id ; }
Add a geometric object to the scene
Add a geometric object to the scene