Initialize class variables with default values in scene/ [1/2]
This commit is contained in:
@ -37,13 +37,13 @@ class VelocityTracker3D : public Reference {
|
||||
GDCLASS(VelocityTracker3D, Reference);
|
||||
|
||||
struct PositionHistory {
|
||||
uint64_t frame;
|
||||
uint64_t frame = 0;
|
||||
Vector3 position;
|
||||
};
|
||||
|
||||
bool physics_step;
|
||||
bool physics_step = false;
|
||||
Vector<PositionHistory> position_history;
|
||||
int position_history_len;
|
||||
int position_history_len = 0;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
Reference in New Issue
Block a user