Added initialziers

This commit is contained in:
Robert Osfield 2016-07-01 08:40:25 +01:00
parent 9f259731f8
commit 22cb243bd9
2 changed files with 3 additions and 2 deletions

View File

@ -95,7 +95,8 @@ public:
TileMapper():
osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN) {}
osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN),
_containsGeode(false) {}
virtual osg::Vec3 getEyePoint() const

View File

@ -285,7 +285,7 @@ public:
TX_EXDECL class TX_CLDECL trpg3dPoint {
public:
double x,y,z;
trpg3dPoint(void) { };
trpg3dPoint(void) : x(0.0),y(0.0),z(0.0) { };
trpg3dPoint(double in_x,double in_y,double in_z) {x = in_x; y = in_y; z = in_z;}
bool operator==(const trpg3dPoint& pt ) const {
if ( x != pt.x ) return false;