Commit Graph

6 Commits

Author SHA1 Message Date
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