#include <string>#include <map>#include <celutil/resmanager.h>#include <celengine/model.h>Include dependency graph for meshmanager.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef ResourceManager< ModelInfo > | ModelManager |
Functions | |
| ModelManager * | GetModelManager () |
| bool | operator< (const ModelInfo &mi0, const ModelInfo &mi1) |
|
|
Definition at line 62 of file meshmanager.h. |
|
|
Definition at line 39 of file meshmanager.cpp. References modelManager. Referenced by Body::computeLocations(), CreatePlanet(), StarDatabase::createStar(), ExactPlanetPickTraversal(), Nebula::load(), Nebula::render(), and Renderer::renderObject(). 00040 {
00041 if (modelManager == NULL)
00042 modelManager = new ModelManager("models");
00043 return modelManager;
00044 }
|
|
||||||||||||
|
Definition at line 48 of file meshmanager.h. 00049 {
00050 if (mi0.source != mi1.source)
00051 return mi0.source < mi1.source;
00052 else if (mi0.path != mi1.path)
00053 return mi0.path < mi1.path;
00054 else if (mi0.center.x != mi1.center.x)
00055 return mi0.center.x < mi1.center.x;
00056 else if (mi0.center.y != mi1.center.y)
00057 return mi0.center.y < mi1.center.y;
00058 else
00059 return mi0.center.z < mi1.center.z;
00060 }
|
1.4.1