Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash when using an expression as value for step in for loop #7

Open
darrenmothersele opened this issue Nov 27, 2013 · 1 comment
Open

Comments

@darrenmothersele
Copy link
Member

Here's an example of how not to draw a circle...

scale 2
rotate
shape
vert 0,0
for i: 0 to TWO_PI step 0.1
vert sin(i),cos(i)
end
vert 0,1
end

Change the step value to an expression, eg PI / 2 and everything stops...

 for i: 0 to TWO_PI step PI / 2
@darrenmothersele
Copy link
Member Author

only hangs when for loop is inside shape - probably shape not passing up valid state correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant