Changeset 10817 for code/branches/cpp11_v2/src/libraries/tools
- Timestamp:
- Nov 19, 2015, 11:40:28 AM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/tools
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/tools/BulletDebugDrawer.h
r10733 r10817 23 23 BulletDebugDrawer(Ogre::SceneManager* sceneManager); 24 24 ~BulletDebugDrawer(); 25 virtual void drawLine(const btVector3& from, const btVector3& to, const btVector3& color) ;25 virtual void drawLine(const btVector3& from, const btVector3& to, const btVector3& color) override; 26 26 // virtual void drawTriangle(const btVector3& v0, const btVector3& v1, const btVector3& v2, const btVector3& color, btScalar); 27 virtual void drawSphere (const btVector3& p, btScalar radius, const btVector3& color) ;28 virtual void drawSphere(btScalar radius, const btTransform& transform, const btVector3& color) ;29 virtual void drawBox(const btVector3& bbMin, const btVector3& bbMax, const btVector3& color) ;30 virtual void drawBox(const btVector3& bbMin, const btVector3& bbMax, const btTransform& trans, const btVector3& color) ;31 virtual void drawCylinder(btScalar radius, btScalar halfHeight, int upAxis, const btTransform& transform, const btVector3& color) ;32 virtual void drawCone(btScalar radius, btScalar height, int upAxis, const btTransform& transform, const btVector3& color) ;27 virtual void drawSphere (const btVector3& p, btScalar radius, const btVector3& color) override; 28 virtual void drawSphere(btScalar radius, const btTransform& transform, const btVector3& color) override; 29 virtual void drawBox(const btVector3& bbMin, const btVector3& bbMax, const btVector3& color) override; 30 virtual void drawBox(const btVector3& bbMin, const btVector3& bbMax, const btTransform& trans, const btVector3& color) override; 31 virtual void drawCylinder(btScalar radius, btScalar halfHeight, int upAxis, const btTransform& transform, const btVector3& color) override; 32 virtual void drawCone(btScalar radius, btScalar height, int upAxis, const btTransform& transform, const btVector3& color) override; 33 33 // virtual void drawPlane(const btVector3& planeNormal, btScalar planeConst, const btTransform& transform, const btVector3& color); 34 34 35 virtual void drawContactPoint(const btVector3& PointOnB, const btVector3& normalOnB, btScalar distance, int lifeTime, const btVector3& color) ;35 virtual void drawContactPoint(const btVector3& PointOnB, const btVector3& normalOnB, btScalar distance, int lifeTime, const btVector3& color) override; 36 36 37 virtual void reportErrorWarning(const char* warningString) ;38 virtual void draw3dText(const btVector3& location, const char* textString) ;37 virtual void reportErrorWarning(const char* warningString) override; 38 virtual void draw3dText(const btVector3& location, const char* textString) override; 39 39 40 virtual void setDebugMode(int debugMode) ;41 virtual int getDebugMode() const ;40 virtual void setDebugMode(int debugMode) override; 41 virtual int getDebugMode() const override; 42 42 43 43 void configure(bool bFill, float fillAlpha); 44 44 45 45 protected: 46 bool frameStarted(const Ogre::FrameEvent& evt) ;47 bool frameEnded(const Ogre::FrameEvent& evt) ;46 bool frameStarted(const Ogre::FrameEvent& evt) override; 47 bool frameEnded(const Ogre::FrameEvent& evt) override; 48 48 49 49 private: -
code/branches/cpp11_v2/src/libraries/tools/DynamicLines.h
r5781 r10817 84 84 protected: 85 85 /// Implementation DynamicRenderable, creates a simple vertex-only decl 86 virtual void createVertexDeclaration() ;86 virtual void createVertexDeclaration() override; 87 87 /// Implementation DynamicRenderable, pushes point list out to hardware memory 88 virtual void fillHardwareBuffers() ;88 virtual void fillHardwareBuffers() override; 89 89 90 90 private: -
code/branches/cpp11_v2/src/libraries/tools/DynamicRenderable.h
r5781 r10817 61 61 62 62 /// Implementation of SimpleRenderable 63 virtual Real getBoundingRadius(void) const ;63 virtual Real getBoundingRadius(void) const override; 64 64 /// Implementation of SimpleRenderable 65 virtual Real getSquaredViewDepth(const Camera* cam) const ;65 virtual Real getSquaredViewDepth(const Camera* cam) const override; 66 66 67 67 protected: -
code/branches/cpp11_v2/src/libraries/tools/ParticleInterface.h
r10624 r10817 76 76 77 77 protected: 78 virtual void changedTimeFactor(float factor_new, float factor_old) ;78 virtual void changedTimeFactor(float factor_new, float factor_old) override; 79 79 80 80 private: -
code/branches/cpp11_v2/src/libraries/tools/ResourceCollection.h
r9667 r10817 44 44 virtual ~ResourceCollection(); 45 45 46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) ;46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; 47 47 48 48 void setResourceGroup(const std::string& resourceGroup); -
code/branches/cpp11_v2/src/libraries/tools/ResourceLocation.h
r9667 r10817 46 46 virtual ~ResourceLocation(); 47 47 48 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) ;48 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; 49 49 50 50 void setPath(const std::string& path) { path_ = path; } -
code/branches/cpp11_v2/src/libraries/tools/Shader.h
r10768 r10817 87 87 { return this->scenemanager_; } 88 88 89 virtual void cameraChanged(Ogre::Viewport* viewport, Ogre::Camera* oldCamera) ;89 virtual void cameraChanged(Ogre::Viewport* viewport, Ogre::Camera* oldCamera) override; 90 90 91 91 void setParameter(unsigned short technique, unsigned short pass, const std::string& parameter, float value); 92 92 void setParameter(unsigned short technique, unsigned short pass, const std::string& parameter, int value); 93 93 94 virtual void notifyMaterialRender(Ogre::uint32 pass_id, Ogre::MaterialPtr& materialPtr) ;94 virtual void notifyMaterialRender(Ogre::uint32 pass_id, Ogre::MaterialPtr& materialPtr) override; 95 95 96 96 private: -
code/branches/cpp11_v2/src/libraries/tools/Timer.h
r9667 r10817 175 175 176 176 protected: 177 virtual float getTimeFactor() ;177 virtual float getTimeFactor() override; 178 178 }; 179 179 }
Note: See TracChangeset
for help on using the changeset viewer.