We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cbe7ff commit 55dd846Copy full SHA for 55dd846
RadeonRays/src/accelerator/bvh2.h
@@ -334,8 +334,8 @@ namespace RadeonRays
334
{
335
auto shape = ref.first;
336
matrix worldmat, worldmatinv;
337
+ shape->GetTransform(worldmat, worldmatinv);
338
auto mesh = static_cast<const Mesh *>(static_cast<const ShapeImpl *>(shape)->is_instance() ? static_cast<const Instance *>(shape)->GetBaseShape() : shape);
- mesh->GetTransform(worldmat, worldmatinv);
339
auto face = mesh->GetFaceData()[ref.second];
340
auto v0 = transform_point(mesh->GetVertexData()[face.idx[0]], worldmat);
341
auto v1 = transform_point(mesh->GetVertexData()[face.idx[1]], worldmat);
0 commit comments