阅读背景:

重载一个函数,以便它可以将基类转换为派生类作为参数

来源:互联网 

I am attempting to model a 3D world, which has objects of spheres and capsules inside of it. I modeled it in a way that the shape class is the base class and that the sphere and capsule classes inherit from the base class (which, if I implemented it correctly, is a perfectly virtual class). I am attempting to model a 3D world, which has




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: