Skip to content

Commit

Permalink
use default dtor for model object
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Jan 19, 2024
1 parent 9f46209 commit b8c8b7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/engine/model/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ class model
std::string collidemodel;
int collide, batch;

virtual ~model()
{
}

virtual ~model() = default;
virtual void calcbb(vec &, vec &) const = 0;
virtual void calctransform(matrix4x3 &) const = 0;
virtual int intersect(int, int, int, const vec &, float, float, float, dynent *, modelattach *, float, const vec &, const vec &, float &) const = 0;
Expand Down

0 comments on commit b8c8b7b

Please sign in to comment.