uninitialized variables-math

This commit is contained in:
AzaezelX 2020-05-11 16:17:40 -05:00
parent 5f59ebbacc
commit ebb7ed1b78
13 changed files with 32 additions and 19 deletions

View file

@ -35,7 +35,7 @@ public:
F32 radius;
public:
SphereF() { }
SphereF() :radius(1.0f) {}
SphereF( const Point3F& in_rPosition, const F32 in_rRadius )
: center(in_rPosition),
radius(in_rRadius)