Skip to content

Commit

Permalink
fix typo in max_triangles_per_leaf option.
Browse files Browse the repository at this point in the history
  • Loading branch information
freibold committed Jun 12, 2024
1 parent 578fa2d commit 8007949
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kernels/common/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ namespace embree
else if (tok == Token::Id("max_spatial_split_replications") && cin->trySymbol("="))
max_spatial_split_replications = cin->get().Float();

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

else if (tok == Token::Id("presplits") && cin->trySymbol("="))
Expand Down
2 changes: 1 addition & 1 deletion tutorials/verify/verify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ namespace embree

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

0 comments on commit 8007949

Please sign in to comment.