Commit Graph

11 Commits

Author SHA1 Message Date
ohsqueezy d882e111b3 - fix sb::Pad to move the collision box when scaled or translated
- add warning about config JSON copy
- add setter for sb::Pad::_plane
- move point on circle functions from extension to math
2023-09-16 21:04:43 -04:00
ohsqueezy 6cb9688bec add world coordinate transformations to math library 2023-07-05 20:08:11 -04:00
ohsqueezy b02ae013ab rename velocity_to_delta to angle_to_vector, remove endpoint function 2023-06-22 21:25:57 -04:00
ohsqueezy c0852ba04f add extend vector function, 2D endpoint function, input check on wrap point 2023-06-22 14:38:56 -04:00
ohsqueezy 1ca956b5ac - add function for wrapping an arbitrary point or curve into an arbitrary clip space
- remove custom mod functions in favor of glm::mod
- deactivate recorder object during game construction after full config is loaded
2023-06-05 18:22:43 -04:00
ohsqueezy 824efcc71f add external resources; add alpha to plane colors 2023-06-03 01:07:18 -04:00
ohsqueezy 2f7a4cb602 - attributes objects track their offset in the VBO
- call to glVertexAttribPointer moved from VBO class to Attributes class
- added a public domain function for computing bezier points
2023-06-02 14:54:06 -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
ohsqueezy d1cb24a785 angle difference and ratio methods 2022-07-23 18:55:27 -04:00
frank 7e31b5a1c0 fix trigonometry functions so angles correspond with GL coordinates, add function to calculate angle between two vectors 2022-06-19 23:28:01 -04:00
frank 3444afc2c1 changed get_configuration to configuration; added option to return the larger ratio to box aspect; changed default window size to 16:9; changed get_window to window; added SDL_RENDERER_PRESENTVSYNC; removed clear renderer to black on emscripten builds to prevent mouse bug; 2022-06-16 16:45:41 -04:00