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

Cleanups and iterator #5

Merged
merged 17 commits into from May 7, 2018

Conversation

federicomenaquintero
Copy link
Contributor

This pull request has several things:

  • shapeops::compute() now takes a slice, not a &Vec.
  • Fix a ton of compiler warnings, to get a clean build.
  • Make Contour::iter_segments() return something that implements Iterator, instead of copying a new vector.
  • Adds a couple of tests for iter_segments() for cargo test.
  • Wires do_flip() in the main program; I think this was just an oversight?

@eevee eevee merged commit 9827f75 into eevee:master May 7, 2018
@eevee
Copy link
Owner

eevee commented May 7, 2018

Hey, thanks for cleaning up stuff I'd been putting off :)

@federicomenaquintero
Copy link
Contributor Author

Thanks for the merge!

I'd like to continue cleaning this up, but I'm not sure about some things:

  • How do I test this? Should I get some WADs from somewhere and just see what happens? (Do you have some links to WAD formats and such? I haven't worked on Doom maps for... many years) :)
  • What would you like me to look at? I'd prefer "general Rust stuff that you want cleaned up but haven't gotten around to doing it" rather than "fix the WAD logic", since I will take some time to learn the latter :)

@eevee
Copy link
Owner

eevee commented May 8, 2018

Hm, I don't know if much more cleanup is really worth it (or possible!) until I figure out exactly what I want this to do for an 0.1 release and get it working — there are a whole lot of things started on but not finished. I do welcome any feedback on stuff I start doing, though, and tests are certainly a good idea...

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

Successfully merging this pull request may close these issues.

None yet

2 participants