#include <osgDB/Registry>
#include <simgear/sg_inlines.h>
-#include <simgear/math/point3d.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/math/sg_random.h>
#include <simgear/scene/material/mat.hxx>
root_props = p;
}
-osg::Node* sgGetRandomModel(SGMatModel *obj) {
- return obj->get_random_model( root_props );
+osg::Node* sgGetRandomModel(SGMatModel *obj, mt seed) {
+ return obj->get_random_model( root_props, seed );
}
+namespace simgear
+{
+SGPropertyNode* getPropertyRoot()
+{
+ return root_props;
+}
+}