mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
virtuals removed
virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
This commit is contained in:
parent
88a43f3137
commit
efbe5e90f5
255 changed files with 2164 additions and 2164 deletions
|
|
@ -75,7 +75,7 @@ class ScenePolyhedralObject : public Base, public IScenePolyhedralObject
|
|||
PolyhedronType mPolyhedron;
|
||||
|
||||
///
|
||||
virtual void _renderObject( ObjectRenderInst* ri, SceneRenderState* state, BaseMatInstance* overrideMat );
|
||||
void _renderObject( ObjectRenderInst* ri, SceneRenderState* state, BaseMatInstance* overrideMat ) override;
|
||||
|
||||
public:
|
||||
|
||||
|
|
@ -90,21 +90,21 @@ class ScenePolyhedralObject : public Base, public IScenePolyhedralObject
|
|||
const PolyhedronType& getPolyhedron() const { return mPolyhedron; }
|
||||
|
||||
// SimObject.
|
||||
virtual bool onAdd();
|
||||
virtual void writeFields( Stream& stream, U32 tabStop );
|
||||
virtual bool writeField( StringTableEntry name, const char* value );
|
||||
bool onAdd() override;
|
||||
void writeFields( Stream& stream, U32 tabStop ) override;
|
||||
bool writeField( StringTableEntry name, const char* value ) override;
|
||||
|
||||
static void initPersistFields();
|
||||
|
||||
// NetObject.
|
||||
virtual U32 packUpdate( NetConnection* connection, U32 mask, BitStream* stream );
|
||||
virtual void unpackUpdate( NetConnection* connection, BitStream* stream );
|
||||
U32 packUpdate( NetConnection* connection, U32 mask, BitStream* stream ) override;
|
||||
void unpackUpdate( NetConnection* connection, BitStream* stream ) override;
|
||||
|
||||
// SceneObject.
|
||||
virtual bool containsPoint( const Point3F& point );
|
||||
bool containsPoint( const Point3F& point ) override;
|
||||
|
||||
// IScenePolyhedralObject.
|
||||
virtual AnyPolyhedron ToAnyPolyhedron() const { return getPolyhedron(); }
|
||||
AnyPolyhedron ToAnyPolyhedron() const override { return getPolyhedron(); }
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue