mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-29 18:32:55 +08:00
Collisions editing progress
This commit is contained in:
parent
308e2eda29
commit
44cf8ee1d2
@ -3324,7 +3324,7 @@ namespace CodeWalker.GameFiles
|
|||||||
bvh.QuantumInverse = new Vector4(1.0f / bvh.Quantum.XYZ(), float.NaN);
|
bvh.QuantumInverse = new Vector4(1.0f / bvh.Quantum.XYZ(), float.NaN);
|
||||||
|
|
||||||
var root = new BVHBuilderNode();
|
var root = new BVHBuilderNode();
|
||||||
root.Items = items;
|
root.Items = items.ToList();
|
||||||
root.Build(itemThreshold);
|
root.Build(itemThreshold);
|
||||||
root.GatherNodes(nodes);
|
root.GatherNodes(nodes);
|
||||||
root.GatherTrees(trees);
|
root.GatherTrees(trees);
|
||||||
|
Loading…
Reference in New Issue
Block a user