summaryrefslogtreecommitdiffstats
path: root/modules/bullet/godot_ray_world_algorithm.h
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2021-02-08 10:57:18 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2021-02-08 10:57:18 +0100
commitf7209b459b4faaae9d93bfb6ac5346eb41787f92 (patch)
tree790808a314837cd3f16c9d229401882046bd6fae /modules/bullet/godot_ray_world_algorithm.h
parent57e2822a05c29db3980ad243c37a34acf6c4d14b (diff)
downloadredot-engine-f7209b459b4faaae9d93bfb6ac5346eb41787f92.tar.gz
Initialize class/struct variables with default values in modules/
Diffstat (limited to 'modules/bullet/godot_ray_world_algorithm.h')
-rw-r--r--modules/bullet/godot_ray_world_algorithm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bullet/godot_ray_world_algorithm.h b/modules/bullet/godot_ray_world_algorithm.h
index f705edef81..25798aecb4 100644
--- a/modules/bullet/godot_ray_world_algorithm.h
+++ b/modules/bullet/godot_ray_world_algorithm.h
@@ -45,7 +45,7 @@ class GodotRayWorldAlgorithm : public btActivatingCollisionAlgorithm {
const btDiscreteDynamicsWorld *m_world;
btPersistentManifold *m_manifoldPtr;
bool m_ownManifold = false;
- bool m_isSwapped;
+ bool m_isSwapped = false;
public:
GodotRayWorldAlgorithm(const btDiscreteDynamicsWorld *world, btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, bool isSwapped);