Initialize class variables with default values in scene/ [1/2]

This commit is contained in:
Rafał Mikrut
2021-02-07 22:29:31 +01:00
parent 57e2822a05
commit 003bb8e1a8
139 changed files with 871 additions and 1652 deletions

View File

@@ -64,10 +64,10 @@ class PathFollow2D : public Node2D {
public:
private:
Path2D *path = nullptr;
real_t offset = 0;
real_t h_offset = 0;
real_t v_offset = 0;
real_t lookahead = 4;
real_t offset = 0.0;
real_t h_offset = 0.0;
real_t v_offset = 0.0;
real_t lookahead = 4.0;
bool cubic = true;
bool loop = true;
bool rotates = true;