mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 03:45:26 +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
|
|
@ -34,10 +34,10 @@ public:
|
|||
~duDebugDrawTorque();
|
||||
|
||||
/// Enable/disable Z read.
|
||||
void depthMask(bool state);
|
||||
void depthMask(bool state) override;
|
||||
|
||||
/// Enable/disable texturing. Not used.
|
||||
void texture(bool state);
|
||||
void texture(bool state) override;
|
||||
|
||||
/// Special colour overwrite for when I get picky about the colours Mikko chose.
|
||||
void overrideColor(unsigned int col);
|
||||
|
|
@ -48,7 +48,7 @@ public:
|
|||
/// Begin drawing primitives.
|
||||
/// @param prim [in] primitive type to draw, one of rcDebugDrawPrimitives.
|
||||
/// @param size [in] size of a primitive, applies to point size and line width only.
|
||||
void begin(duDebugDrawPrimitives prim, float size = 1.0f);
|
||||
void begin(duDebugDrawPrimitives prim, float size = 1.0f) override;
|
||||
|
||||
/// All new buffers go into this group.
|
||||
void beginGroup(U32 group);
|
||||
|
|
@ -56,25 +56,25 @@ public:
|
|||
/// Submit a vertex
|
||||
/// @param pos [in] position of the verts.
|
||||
/// @param color [in] color of the verts.
|
||||
void vertex(const float* pos, unsigned int color);
|
||||
void vertex(const float* pos, unsigned int color) override;
|
||||
|
||||
/// Submit a vertex
|
||||
/// @param x,y,z [in] position of the verts.
|
||||
/// @param color [in] color of the verts.
|
||||
void vertex(const float x, const float y, const float z, unsigned int color);
|
||||
void vertex(const float x, const float y, const float z, unsigned int color) override;
|
||||
|
||||
/// Submit a vertex
|
||||
/// @param pos [in] position of the verts.
|
||||
/// @param color [in] color of the verts.
|
||||
void vertex(const float* pos, unsigned int color, const float* uv);
|
||||
void vertex(const float* pos, unsigned int color, const float* uv) override;
|
||||
|
||||
/// Submit a vertex
|
||||
/// @param x,y,z [in] position of the verts.
|
||||
/// @param color [in] color of the verts.
|
||||
void vertex(const float x, const float y, const float z, unsigned int color, const float u, const float v);
|
||||
void vertex(const float x, const float y, const float z, unsigned int color, const float u, const float v) override;
|
||||
|
||||
/// End drawing primitives.
|
||||
void end();
|
||||
void end() override;
|
||||
|
||||
/// Render buffered primitive.
|
||||
void render();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue