Skip to content
Snippets Groups Projects
Commit 7b303b03 authored by Kottelenberg, David's avatar Kottelenberg, David
Browse files

Changed RV angle parameter to strenght parameter.

parent 8576976c
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,9 @@ module Rules
set!(turtle, to = pos(turtle), head = Vec(NewHead), up = Vec(NewUp), arm = Vec(NewArm))
end
struct RV{FT} <: VPL.Node
angle::FT
strength::FT
end
VPL.feedgeom!(turtle::MTurtle, node::RV) = rv!(turtle, node.angle)
VPL.feedgeom!(turtle::MTurtle, node::RV) = rv!(turtle, node.strength)
# Define rule for phytomer production
function producePhytomer(M)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment