Skip to content

Commit 8007949

Browse files
committed
fix typo in max_triangles_per_leaf option.
1 parent 578fa2d commit 8007949

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kernels/common/state.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ namespace embree
430430
else if (tok == Token::Id("max_spatial_split_replications") && cin->trySymbol("="))
431431
max_spatial_split_replications = cin->get().Float();
432432

433-
else if (tok == Token::Id("max_triagles_per_leaf") && cin->trySymbol("="))
433+
else if (tok == Token::Id("max_triangles_per_leaf") && cin->trySymbol("="))
434434
max_triangles_per_leaf = cin->get().Float();
435435

436436
else if (tok == Token::Id("presplits") && cin->trySymbol("="))

tutorials/verify/verify.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,7 @@ namespace embree
17831783

17841784
VerifyApplication::TestReturnValue run(VerifyApplication* state, bool silent)
17851785
{
1786-
std::string cfg = state->rtcore + ",isa="+stringOfISA(isa) + ",max_spatial_split_replications=1.5,max_triagles_per_leaf=1";
1786+
std::string cfg = state->rtcore + ",isa="+stringOfISA(isa) + ",max_spatial_split_replications=1.5,max_triangles_per_leaf=1";
17871787
RTCDeviceRef device = rtcNewDevice(cfg.c_str());
17881788
errorHandler(nullptr,rtcGetDeviceError(device));
17891789
SceneFlags sflags = { RTC_SCENE_FLAG_NONE, RTC_BUILD_QUALITY_HIGH };

0 commit comments

Comments
 (0)