Intialize the center to prevent a 'may be used uninitialized' warning

This commit is contained in:
Erik Hofman 2011-12-19 15:25:58 +01:00
parent 54db2e0ab1
commit 052ce499c9

View File

@ -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) :