mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-15 23:05:42 +08:00
Collisions editing beginnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user