gerwindehaan / osgswig

Python bindings for OpenSceneGraph (auto-export from code.google.com/p/osgswig)
Other
1 stars 1 forks source link

osg.BoundingBox.radius is not bound #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

   mt = osg.MatrixTransform()
   mt.addChild(node)
   bs = node.getBound()
   mt.setMatrix(osg.Matrixd.translate(-bs.center()))
   # crashes here because of bs.radius()
   s = (1.0 / (bs.radius() * 2.0)) * scale

Original issue reported on code.google.com by hartmut on 4 May 2008 at 9:36

GoogleCodeExporter commented 9 years ago
Fixed in rev 127

Original comment by hartmut on 3 Jul 2008 at 3:50