This commit is contained in:
Joachim Schoeberl 2014-09-25 11:30:38 +00:00
parent 5bfa6a39df
commit 61479ed2a4

View File

@ -99,8 +99,13 @@ void ExportCSG()
bp::scope local_scope(module);
bp::class_<Point<3>> ("Point3d", bp::init<double,double,double>()) ;
bp::class_<Vec<3>> ("Vec3d", bp::init<double,double,double>()) ;
bp::class_<Point<3>> ("Point3d", bp::init<double,double,double>())
.def(bp::self+Vec<3>())
;
bp::class_<Vec<3>> ("Vec3d", bp::init<double,double,double>())
.def(bp::self+bp::self)
;
bp::class_<SPSolid, shared_ptr<SPSolid>, boost::noncopyable> ("Solid", bp::no_init) ;