- fast caching of interpolation data

This commit is contained in:
Mark Vejvoda
2010-07-17 12:16:02 +00:00
parent d610650624
commit d58a3d948c
4 changed files with 50 additions and 37 deletions

View File

@@ -32,6 +32,9 @@ private:
//std::map<std::string, Vec3f *> cacheVertices;
//std::map<std::string, Vec3f *> cacheNormals;
std::map<float, std::map<bool, Vec3f *> > cacheVertices;
std::map<float, std::map<bool, Vec3f *> > cacheNormals;
public:
InterpolationData(const Mesh *mesh);
~InterpolationData();