File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class ICPUBottomLevelAccelerationStructure final : public IBottomLevelAccelerati
47
47
return {m_geometryPrimitiveCount->begin (),m_geometryPrimitiveCount->end ()};
48
48
return {};
49
49
}
50
- inline std::span<const uint32_t > getGeometryPrimitiveCounts (const size_t geomIx ) const
50
+ inline std::span<const uint32_t > getGeometryPrimitiveCounts () const
51
51
{
52
52
if (m_geometryPrimitiveCount)
53
53
return {m_geometryPrimitiveCount->begin (),m_geometryPrimitiveCount->end ()};
@@ -79,7 +79,7 @@ class ICPUBottomLevelAccelerationStructure final : public IBottomLevelAccelerati
79
79
{
80
80
if (!isMutable ())
81
81
return false ;
82
- m_buildFlags &= BUILD_FLAGS::GEOMETRY_TYPE_IS_AABB_BIT;
82
+ m_buildFlags &= ~ BUILD_FLAGS::GEOMETRY_TYPE_IS_AABB_BIT;
83
83
m_geometryPrimitiveCount = std::move (ranges);
84
84
m_triangleGeoms = std::move (geometries);
85
85
m_AABBGeoms = nullptr ;
You can’t perform that action at this time.
0 commit comments