Further work on new TextureAtlasBuilder.

This commit is contained in:
Robert Osfield
2006-08-25 16:30:23 +00:00
parent 1f8c4874f6
commit f86c824275
2 changed files with 71 additions and 9 deletions

View File

@@ -636,6 +636,7 @@ class OSGUTIL_EXPORT Optimizer
osg::ref_ptr<const osg::Image> _image;
osg::ref_ptr<const osg::Texture2D> _texture;
bool suitableForAtlas(unsigned int maximumAtlasWidth, unsigned int maximumAtlasHeight, unsigned int margin);
osg::Matrix computeTextureMatrix() const;
@@ -687,7 +688,7 @@ class OSGUTIL_EXPORT Optimizer
Source* getSource(const osg::Texture2D* texture);
SourceList _sourceList;
AtlasList _atasList;
AtlasList _atlasList;
};
};