|
OpenMW
|
#include <stdlib.h>#include <string.h>#include "optimizer.hpp"#include <osg/Transform>#include <osg/MatrixTransform>#include <osg/PositionAttitudeTransform>#include <osg/LOD>#include <osg/Billboard>#include <osg/Geometry>#include <osg/Notify>#include <osg/Texture>#include <osg/Timer>#include <osg/io_utils>#include <osgUtil/TransformAttributeFunctor>#include <osgUtil/Statistics>#include <osgUtil/MeshOptimizers>#include <typeinfo>#include <algorithm>#include <numeric>#include <sstream>#include <iterator>Namespaces | |
| SceneUtil | |
Macros | |
| #define | COMPARE_BINDING(lhs, rhs) |
Functions | |
| unsigned int | SceneUtil::getSize (const osg::Array *a) |
| Shortcut to get size of an array, even if pointer is NULL. More... | |
| bool | SceneUtil::isArrayCompatible (unsigned int numVertice1, unsigned int numVertice2, const osg::Array *compare1, const osg::Array *compare2) |
| When merging geometries, tests if two arrays can be merged, regarding to their number of components, and the number of vertices. More... | |
| bool | SceneUtil::isAbleToMerge (const osg::Geometry &g1, const osg::Geometry &g2) |
| Return true only if both geometries have same array type and if arrays (such as TexCoords) are compatible (i.e. both empty or both filled) More... | |
| #define COMPARE_BINDING | ( | lhs, | |
| rhs | |||
| ) |
1.8.6