Commit Graph

10 Commits

Author SHA1 Message Date
ohsqueezy 12e5a15d1c add exception checks to Texture::bind and GLObject::id, make collision info storage a std::optional object 2023-06-26 20:49:14 -04:00
ohsqueezy c0852ba04f add extend vector function, 2D endpoint function, input check on wrap point 2023-06-22 14:38:56 -04:00
frank 8972b0c868 move stream operator overloads into std namespace 2021-10-22 15:06:05 -04:00
frank c8bc86cab7 squircle and 2d collision demo; config auto refresh 2021-08-31 23:55:38 -04:00
frank ba44b8e8d5 box documentation, remove get/set prefixes from Box and Segment 2021-08-14 19:53:39 -04:00
Frank DeMarco 7d00cda9bb added segment constructors for 2 boxes and 2 sprites 2020-09-07 04:11:59 -04:00
Frank DeMarco 3a571adaa3 segment comparison operators; get sdl surface from pixels 2020-09-01 17:00:17 -04:00
Frank DeMarco ae644b7138 collide box/box, box/line, box/point; sprite/sprite and sprite/box precise alpha collision 2020-08-09 16:32:32 -04:00
Frank DeMarco f5d03b9be6 - extended version of sdl gfx primitives
- drag left and right edge box
- complete segment member functions
- extension functions: get segments, get relative step, populate
pixel array
2020-08-06 18:54:50 -04:00
Frank DeMarco 1861b80aa4 line intersection formula from GraphicsGems; started Segment class 2020-08-02 00:52:50 -04:00