mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 11:24:00 +02:00
- fast caching of interpolation data
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user