Commit Graph

14 Commits

Author SHA1 Message Date
ohsqueezy ba8f4753bf throw exception if VBO is not bound when allocate is called, reset VBO offset on ID generation 2023-07-14 00:30:30 -04:00
ohsqueezy 89fbe359f6 Add exception handling to Attributes::bind, add default constructor to Model 2023-07-13 21:38:53 -04:00
ohsqueezy f7f6bee582 add support for verbose log priority 2023-07-01 19:21:06 -04:00
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 772c5482dd unsubscribe delegate subcribers in game's quit function and remove destructor calls to unsubscribe; delete ID memory when GL object is deleted; disable recorder because of memory leak 2023-06-11 21:49:04 -04:00
ohsqueezy aaaebc006d - use vector instead of map to store textures in Model class
- require a font to be passed to the Text class constructor
- convert default font from static member to non-static so it unloads from memory before TTF library unloads
- construct delegate object first so that it deletes last and other objects can call unsubscribe successfully
2023-06-11 01:07:15 -04:00
ohsqueezy 7140e8a3eb - add untransform, transform, and specialized transforms to Model class
- reset viewport on window resize events
- add boolean assignment operator to Switch class
- throw error if GL object is generated before GL context is created
- add Selection container
- add string conversion to Box
2023-05-24 22:49:05 -04:00
frank 0bf2e12935 added more documentation for GLObject::generate 2022-08-10 13:30:44 -04:00
frank 54cf01246b Display object can return ndc coordinates from a pixel coordinate box 2021-11-13 14:49:56 -05:00
frank 8972b0c868 move stream operator overloads into std namespace 2021-10-22 15:06:05 -04:00
frank 3212dc15cf vbo, vao, and buffer classes 2021-10-18 17:33:33 -04:00
frank f70ea1c215 started log class 2021-10-02 19:21:07 -04:00
frank f03d58dae1 pass specialized generate function to generic base function for globject 2021-09-28 02:09:49 -04:00
frank 6adac9806f abstract base class for GL objects 2021-09-24 02:43:38 -04:00