Commit Graph

61 Commits

Author SHA1 Message Date
Jon Janzen
bf1afc092e Created a Projectile and allowed it to be operated on by wind and gravity 2021-02-07 14:49:14 -07:00
Jon Janzen
c863cf5a8b Made methods pub so I could use them 2021-02-07 14:48:45 -07:00
Jon Janzen
4b0515f4b1 Created tuples and with structs.
Need to do the cannon exercise yet
2021-02-06 16:56:03 -07:00
Jon Janzen
334e2ef3ea create structs lib, mimics tuple lib, but implements Tuple.
This allows for operator overloading. It will make it significantly easier to write code for Tuple objects.
2021-01-23 20:13:34 -07:00
Jon Janzen
ea51c5785d multiplicaiton, division, and negation 2021-01-23 19:15:26 -07:00
Jon Janzen
275d857e7a tuple addition and subtraction 2021-01-23 18:46:21 -07:00
Jon Janzen
2e481efd7a changed point/vector to not take tuples in 2021-01-23 18:30:01 -07:00
Jon Janzen
f827fd19eb tuple equality 2021-01-23 18:24:49 -07:00
Jon Janzen
285c75bbda moved to relative float equivalence 2021-01-23 18:17:28 -07:00
Jon Janzen
864ad4d40b first tuple test 2021-01-23 17:59:10 -07:00
Jon Janzen
3c58271683 init 2021-01-23 17:24:59 -07:00