File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ struct Fobb;
22
22
// 100 ms = 10 fps
23
23
#define UCalc_Interval (u32(100 ))
24
24
25
- class IKinematics
25
+ class XR_NOVTABLE IKinematics
26
26
{
27
27
public:
28
28
typedef xr_vector<std::pair<shared_str, u16>> accel;
Original file line number Diff line number Diff line change @@ -32,10 +32,11 @@ struct SKeyTable
32
32
SKeyTable () { std::fill_n (chanel_blend_conts, MAX_CHANNELS, 0 ); }
33
33
};
34
34
35
- class IKinematicsAnimated
35
+ class XR_NOVTABLE IKinematicsAnimated
36
36
{
37
37
public:
38
- virtual ~IKinematicsAnimated () { ; }
38
+ virtual ~IKinematicsAnimated () = 0 ;
39
+
39
40
// Calculation
40
41
public:
41
42
virtual void OnCalculateBones () = 0;
@@ -121,4 +122,6 @@ class IKinematicsAnimated
121
122
// #endif
122
123
};
123
124
125
+ inline IKinematicsAnimated::~IKinematicsAnimated () = default ;
126
+
124
127
#endif // KinematicsAnimated_included
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ class IKinematicsAnimated;
7
7
class IParticleCustom ;
8
8
struct vis_data ;
9
9
10
- class IRenderVisual
10
+ class XR_NOVTABLE IRenderVisual
11
11
{
12
12
public:
13
- virtual ~IRenderVisual () { ; }
13
+ virtual ~IRenderVisual () = 0 ;
14
14
virtual vis_data& getVisData () = 0;
15
15
virtual u32 getType () const = 0;
16
16
@@ -24,4 +24,6 @@ class IRenderVisual
24
24
virtual IParticleCustom* dcast_ParticleCustom () { return nullptr ; }
25
25
};
26
26
27
+ inline IRenderVisual::~IRenderVisual () = default ;
28
+
27
29
#endif // RenderVisual_included
You can’t perform that action at this time.
0 commit comments