changed camera class to work with renderableobject