2 #define _PRELOADERHEUR 1
5 using namespace vrecko;
6 using namespace ArtificialWorld;
8 bool ComputePoint(
double x,
double y,
double sizexy,
double sizeuv,
double anglecos,
double side, osg::Vec2 lastPoint, osg::Vec2 *result);
36 rootBlockUpdater = _rootBlockUpdater;
45 virtual void Restart(
void){ searchFinnished =
false; objectsToPreload.clear(); };
58 double vecXYAverageSize;
60 double vecXYAverageAngleCos;
65 double vecXZAverageSize;
67 double vecXZAverageAngleCos;
84 double minPositionDistance;
87 bool computeNextPointXY(osg::Vec2 *result);
89 bool computeNextPointXZ(osg::Vec2 *result);
91 bool computeNextPoint(osg::Vec3 *result);
96 vecXYAverageAngleCos = 1.0f;
97 vecXYAverageSize = 0.0f;
99 vecXZAverageAngleCos = 1.0f;
100 vecXZAverageSize = 0.0f;
105 numOfPointsToGet = 10;
107 minPositionDistance = 10;
109 maxCountOfModels = 15;
110 rootBlockUpdater = NULL;
111 searchFinnished =
false;
118 searchFinnished =
false;
119 objectsToPreload.clear();