Collisions editing beginnings

This commit is contained in:
dexy
2020-01-02 00:16:49 +11:00
Unverified
parent f51d5644fd
commit d85f5eddb2
7 changed files with 704 additions and 42 deletions
+6 -8
View File
@@ -231,19 +231,17 @@ namespace CodeWalker.Rendering
public void Invalidate(Bounds bounds)
{
boundcomps.Invalidate(bounds);
}
public void Invalidate(BasePathData path)
{
//lock (updateSyncRoot)
{
pathbatches.Invalidate(path);
}
pathbatches.Invalidate(path);
}
public void Invalidate(YmapGrassInstanceBatch batch)
{
//lock (updateSyncRoot)
{
instbatches.Invalidate(batch);
}
instbatches.Invalidate(batch);
}
+4 -2
View File
@@ -395,12 +395,14 @@ namespace CodeWalker.Rendering
public void Invalidate(Bounds bounds)
{
renderableCache.Invalidate(bounds);
}
public void Invalidate(BasePathData path)
{
//used to update path graphics.
renderableCache.Invalidate(path);
}
public void Invalidate(YmapGrassInstanceBatch batch)
{
renderableCache.Invalidate(batch);