Skip to content

Commit

Permalink
oof
Browse files Browse the repository at this point in the history
  • Loading branch information
szellmann committed Jun 7, 2024
1 parent 3b6442e commit d65e8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/VisionarayScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void VisionaraySceneImpl::commit()
unsigned index = quadCount++;
builder.enable_spatial_splits(true);
m_accelStorage.quadBLSs[index] = builder.build(
TriangleBVH{}, (const dco::Triangle *)geom.numPrims, geom.numPrims);
TriangleBVH{}, (const dco::Triangle *)geom.primitives, geom.numPrims);
} else if (geom.type == dco::Geometry::Sphere) {
unsigned index = sphereCount++;
builder.enable_spatial_splits(true);
Expand Down

0 comments on commit d65e8e2

Please sign in to comment.