Skip to content

Commit

Permalink
Modifying test to pass shared_ptr directly without storing it.
Browse files Browse the repository at this point in the history
  • Loading branch information
3dJan committed Dec 5, 2024
1 parent 8758e76 commit 82abc09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Tests/CPP_Bindings/Source/Volumetric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ namespace Lib3MF
auto decomposePosOutputY = decomposePos->GetOutputY();
gyroidFunction->AddLink(decomposePosOutputY, composeYZXInputY);

auto composeYZXInputZ = composeYZX->GetInputZ();
auto decomposePosOutputX = decomposePos->GetOutputX();
gyroidFunction->AddLink(decomposePosOutputX, composeYZXInputZ);
gyroidFunction->AddLink(decomposePos->GetOutputX(), composeYZX->GetInputZ());

// Add the nodes and links for the gyroid
// (dot(sin(pos), cos(composeYZX))
Expand Down

0 comments on commit 82abc09

Please sign in to comment.