cmu-cs-academy / desktop-cmu-graphics

BSD 3-Clause "New" or "Revised" License
15 stars 9 forks source link

CSA-1189 Add Rotate method for shapes and the corresponding test #79

Closed Yuxiang-Huang closed 2 months ago

Yuxiang-Huang commented 2 months ago

What this PR does

Now there is a rotate function for shape! Check http://localhost:3000/docs/generalShapeMethods for documentation. Also add rotate_method.py test in test-image-gen.

This is a follow up task for https://github.com/cmu-cs-academy/cs-academy/pull/6413.

Mohamed-Waiel-Shikfa commented 2 months ago

Thanks for that work. I have a few comments:

schmave commented 2 months ago

Sorry, the links in the PR description are related to our non-open-source code, so that's why you can't access them.

We did update the documentation to include a mention of rotate, but it hasn't been deployed yet. You'll be able to see it here by 12am UTC 7/11.