summaryrefslogtreecommitdiffstats
path: root/modules/bullet/shape_bullet.h
diff options
context:
space:
mode:
authorzwebb <zwebb@ufl.edu>2022-01-31 12:42:32 -0500
committerzwebb <zwebb@ufl.edu>2022-02-03 11:14:42 -0500
commit466661c78fe254ba8ff2fe0d90183c66874aabf2 (patch)
treefc2f54031c2146523d2c9d4a1ee5d4e8749c19b6 /modules/bullet/shape_bullet.h
parent31a7ddbf838572e50415159a56720275f9523262 (diff)
downloadredot-engine-466661c78fe254ba8ff2fe0d90183c66874aabf2.tar.gz
initialized member variables in header
Diffstat (limited to 'modules/bullet/shape_bullet.h')
-rw-r--r--modules/bullet/shape_bullet.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/bullet/shape_bullet.h b/modules/bullet/shape_bullet.h
index 6377f8915d..dffcadbcdc 100644
--- a/modules/bullet/shape_bullet.h
+++ b/modules/bullet/shape_bullet.h
@@ -105,7 +105,7 @@ private:
};
class SphereShapeBullet : public ShapeBullet {
- real_t radius;
+ real_t radius = 0.0;
public:
SphereShapeBullet();
@@ -137,8 +137,8 @@ private:
};
class CapsuleShapeBullet : public ShapeBullet {
- real_t height;
- real_t radius;
+ real_t height = 0.0;
+ real_t radius = 0.0;
public:
CapsuleShapeBullet();
@@ -155,8 +155,8 @@ private:
};
class CylinderShapeBullet : public ShapeBullet {
- real_t height;
- real_t radius;
+ real_t height = 0.0;
+ real_t radius = 0.0;
public:
CylinderShapeBullet();