/* e:\morten\programmering\c++\demos\physics\3dobjects.h(64) : error C2629: unexpected 'class sphere (' e:\morten\programmering\c++\demos\physics\3dobjects.h(64) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body e:\morten\programmering\c++\demos\physics\3dobjects.h(65) : error C2629: unexpected 'class sphere (' e:\morten\programmering\c++\demos\physics\3dobjects.h(65) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body line 64 being sphere(): obj3d() {} */ class sphere: public obj3d { protected: // Radius float r; public: sphere(): obj3d() {} sphere(x,y,z): obj3d(x,y,z) {} sphere(x,y,z,rad): r(rad), obj3d(x,y,z) {} ~sphere(): ~obj3d() {} virtual void draw(void) const; virtual void calc(void); virtual bool collisionTest(const sphere & testsphere) const; };