Skip to content

Commit

Permalink
🧼 [Particles] Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Jan 11, 2024
1 parent a4e51fc commit 915ca8c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Module/ShaderBased/generate_shader_code.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ static auto gen_all_output_indices_declarations(Cool::NodesGraph const& graph)
-> std::string
{
std::stringstream res{};

graph.for_each_node<Node>([&](Node const& node) {
for (size_t i = 1; i < node.output_pins().size(); ++i)
res << fmt::format("float {};\n", make_valid_output_index_name(node.output_pins()[i]));
});

return res.str();
}

Expand Down

0 comments on commit 915ca8c

Please sign in to comment.