📄️ Introduction
KingOfCosmos
📄️ Setup
The setup for this assignment is largely the same as it was for assignment 0, adjusted to use the A2 repo:
📄️ Representing 2D Polygons
Line Segments and the LineSegment class
📄️ Precision
We are going to be using a finite number of bits to represent and perform calculations on continuous quantities. This means different operations that would result in the same value if we performed them with infinite precision may end up producing very slightly different results. For this reason, when testing for equality we often need to allow for a little bit of slack (i.e., close enough to equal should be considered equal). In general, this is where the Precision class in AniGraph comes in.
📄️ Instructions
All of the files you need to modify for A2 can be found in the src/Assignment2/Polygon2D directory. There are four high-level things you will need to do to make your Catamari roll.
📄️ Running the Demo
- Use the arrow keys on your keyboard to move around
📄️ What to Submit
The assignment is due at 11:59pm on Friday Sep 29.
📄️ Additional Resources
Cool stuff