Fix trace bug for when rayquery is not available
This commit is contained in:
parent
2bfa8b0ee5
commit
94eb96a235
2 changed files with 2 additions and 1 deletions
|
|
@ -522,7 +522,7 @@ void VkLevelMeshUploader::UploadNodes()
|
|||
CollisionNode* nodes = (CollisionNode*)(data + datapos);
|
||||
for (int i = 0, count = range.Size; i < count; i++)
|
||||
{
|
||||
const auto& node = srcnodes[i];
|
||||
const auto& node = srcnodes[range.Offset + i];
|
||||
CollisionNode info;
|
||||
info.center = SwapYZ(node.aabb.Center);
|
||||
info.extents = SwapYZ(node.aabb.Extents);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue