mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
rest of virtuals removed
virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
parent
efbe5e90f5
commit
2b295fb7f0
454 changed files with 4162 additions and 4156 deletions
|
|
@ -37,21 +37,21 @@ public:
|
|||
virtual ~VertexPolyList() {}
|
||||
|
||||
// AbstractPolyList
|
||||
U32 addPoint(const Point3F& p);
|
||||
U32 addPlane(const PlaneF& plane) { return 0; }
|
||||
void begin(BaseMatInstance* material,U32 surfaceKey) {}
|
||||
void plane(U32 v1,U32 v2,U32 v3) {}
|
||||
void plane(const PlaneF& p) {}
|
||||
void plane(const U32 index) {}
|
||||
void vertex(U32 vi) {}
|
||||
void end() {}
|
||||
const PlaneF& getIndexedPlane(const U32 index);
|
||||
U32 addPoint(const Point3F& p) override;
|
||||
U32 addPlane(const PlaneF& plane) override { return 0; }
|
||||
void begin(BaseMatInstance* material,U32 surfaceKey) override {}
|
||||
void plane(U32 v1,U32 v2,U32 v3) override {}
|
||||
void plane(const PlaneF& p) override {}
|
||||
void plane(const U32 index) override {}
|
||||
void vertex(U32 vi) override {}
|
||||
void end() override {}
|
||||
const PlaneF& getIndexedPlane(const U32 index) override;
|
||||
|
||||
/// Clears any captured verts.
|
||||
void clear();
|
||||
|
||||
/// Returns true if the polylist contains no verts.
|
||||
bool isEmpty() const { return mVertexList.empty(); }
|
||||
bool isEmpty() const override { return mVertexList.empty(); }
|
||||
|
||||
/// Returns the vertex list.
|
||||
Vector<Point3F>& getVertexList() { return mVertexList; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue