更新NvTriStrip

This commit is contained in:
2019-04-29 20:06:30 +08:00
parent d6ebb6a65f
commit 73f282c689
4 changed files with 286 additions and 286 deletions

View File

@@ -1,7 +1,7 @@
#ifndef VERTEX_CACHE_H
#define VERTEX_CACHE_H
#include<string.h>
#include <string.h>
namespace NvTriStrip
{
@@ -20,7 +20,7 @@ namespace NvTriStrip
}
VertexCache() { VertexCache(16); }
~VertexCache() { delete[] entries; entries = nullptr; }
~VertexCache() { delete[] entries; entries = 0; }
bool InCache(int entry)
{
@@ -74,6 +74,7 @@ namespace NvTriStrip
int *entries;
int numEntries;
};
}//namespace NvTriStrip
#endif