Intialize the center to prevent a 'may be used uninitialized' warning
This commit is contained in:
parent
54db2e0ab1
commit
052ce499c9
@ -22,6 +22,7 @@ template<typename T>
|
||||
class SGSphere {
|
||||
public:
|
||||
SGSphere() :
|
||||
_center(0.0, 0.0, 0.0),
|
||||
_radius(-1)
|
||||
{ }
|
||||
SGSphere(const SGVec3<T>& center, const T& radius) :
|
||||
|
Loading…
Reference in New Issue
Block a user