mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +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
|
|
@ -70,9 +70,9 @@ public:
|
|||
|
||||
static void initPersistFields();
|
||||
|
||||
virtual void packData( BitStream *stream );
|
||||
virtual void unpackData( BitStream* stream );
|
||||
virtual bool preload( bool server, String &errorStr );
|
||||
void packData( BitStream *stream ) override;
|
||||
void unpackData( BitStream* stream ) override;
|
||||
bool preload( bool server, String &errorStr ) override;
|
||||
|
||||
U32 texSize;
|
||||
F32 nearDist;
|
||||
|
|
@ -150,7 +150,7 @@ public:
|
|||
void registerReflector( SceneObject *inObject,
|
||||
ReflectorDesc *inDesc );
|
||||
|
||||
virtual void unregisterReflector();
|
||||
void unregisterReflector() override;
|
||||
virtual void updateReflection( const ReflectParams ¶ms, Point3F explicitPostion = Point3F::Max);
|
||||
|
||||
GFXCubemap* getCubemap() const { return mCubemap; }
|
||||
|
|
@ -174,8 +174,8 @@ protected:
|
|||
U32 faceIdx;
|
||||
CubeReflector *cube;
|
||||
|
||||
virtual void updateReflection( const ReflectParams ¶ms ) { cube->updateFace( params, faceIdx ); }
|
||||
virtual F32 calcScore( const ReflectParams ¶ms );
|
||||
void updateReflection( const ReflectParams ¶ms ) override { cube->updateFace( params, faceIdx ); }
|
||||
F32 calcScore( const ReflectParams ¶ms ) override;
|
||||
};
|
||||
|
||||
CubeFaceReflector mFaces[6];
|
||||
|
|
@ -200,8 +200,8 @@ public:
|
|||
void registerReflector( SceneObject *inObject,
|
||||
ReflectorDesc *inDesc );
|
||||
|
||||
virtual F32 calcScore( const ReflectParams ¶ms );
|
||||
virtual void updateReflection( const ReflectParams ¶ms );
|
||||
F32 calcScore( const ReflectParams ¶ms ) override;
|
||||
void updateReflection( const ReflectParams ¶ms ) override;
|
||||
|
||||
/// Set up the GFX matrices
|
||||
void setGFXMatrices( const MatrixF &camTrans );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue