mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Initialize class variables with default values in scene/ [1/2]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user