Skip to content

Commit b5830e7

Browse files
author
devsh
committed
correct a bunch of typos
1 parent 0215b88 commit b5830e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/nbl/asset/ICPUGeometryCollection.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class NBL_API2 ICPUGeometryCollection : public IAsset, public IGeometryCollectio
6464
}
6565

6666
//
67-
inline bool setAABB(const SAABBStorage& aabb)
67+
inline bool setAABB(const base_t::SAABBStorage& aabb)
6868
{
6969
if (isMutable())
7070
{
@@ -94,7 +94,7 @@ class NBL_API2 ICPUGeometryCollection : public IAsset, public IGeometryCollectio
9494
template<typename Iterator>// requires std::is_same_v<decltype(*declval<Iterator>()),decltype(ICPUBottomLevelAccelerationStructure::Triangles&)>
9595
inline Iterator exportForBLAS(Iterator out, uint32_t* pWrittenOrdinals=nullptr) const
9696
{
97-
return exportForBLAS(std;:forward<Iterator>(out),[](const hlsl::float32_t3x4& lhs, const hlsl::float32_t3x4& rhs)->void
97+
return exportForBLAS(std::forward<Iterator>(out),[](const hlsl::float32_t3x4& lhs, const hlsl::float32_t3x4& rhs)->void
9898
{
9999
lhs = rhs;
100100
if (pWrittenOrdinals)

include/nbl/asset/IGeometryCollection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class NBL_API2 IGeometryCollection : public virtual core::IReferenceCounted
9696
}
9797

9898
// need to be protected because of the mess around `transform` requires us to provide diffferent signatures for ICPUGeometryCollection and IGPUGeometryCollection
99-
using BLASTriangles = IBottomLevelAccelerationStructure::Triangles<std::remove_const<BufferType>>;
99+
using BLASTriangles = IBottomLevelAccelerationStructure::Triangles<std::remove_const_t<BufferType>>;
100100
template<typename Iterator, typename Callback>// requires std::is_same_v<decltype(*declval<Iterator>()),decltype(BLASTriangles&)>
101101
inline Iterator exportForBLAS(Iterator out, Callback& setTransform) const
102102
{

0 commit comments

Comments
 (0)