DJin24 / rust_ge

1 stars 0 forks source link

Overhaul Posn struct #11

Open sethdmay opened 3 years ago

sethdmay commented 3 years ago

Posn struct is i32 but should really be u32 if it's position

Also, the sdl2 Point struct basically does everything we want Posn to do, with some extra functionality we don't have to implement

DJin24 commented 3 years ago

My thinking behind making a Posn struct was so that the students wouldn't have to interact with SDL2 or any of its parts at all. I think Jesse did something similar for ge211 with ge211::dimension to just hide away all the SDL2 stuff from student code