Commit Graph

17 Commits

Author SHA1 Message Date
ohsqueezy 8498dfa004 - consolidate GL includes into one header
- build flags for MacOS
- replace glTexStorage2D with more compatible glTexImage2D
2024-04-24 15:01:17 -04:00
ohsqueezy cd66f70d0c attribute index exception, overload attributes bind, model add and bind methods 2023-07-18 23:23:29 -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 3ba3be4496 - add Switch and time_it classes
- finish adding #pragma once to headers
- move configuration initialization into Game class
- print debug to stdout by default
- explicitly pass file to refresh to config auto refresh
- add delegate to sb namespace and deprecate get_delegate() in favor of delegate()
- set custom log function before loading config
- raise exception when no model textures are available
2023-05-23 15:28:53 -04:00
frank f47c080d72 box demo android support, android file to string for reading files inside APK 2022-11-08 17:17:20 -05:00
frank ad9aab4a46 android helper scripts and icon assets and fill screen android demo 2022-10-17 21:57:56 -04:00
frank 660865b2f2 read individual vertices and components of vertices in attributes 2021-11-16 23:20:56 -05:00
frank 03d179eed4 attributes can be accessed as a typed vector; box set gl mode function; mouse events are suppressed in addition to key events when input is suppressed 2021-11-09 23:30:27 -05:00
frank 2c0517b9e2 change uint to int for attributes bind index 2021-10-29 22:09:01 -04:00
frank 9e5ecc3ace bind and enable/disable attributes 2021-10-26 12:48:02 -04:00
frank 8972b0c868 move stream operator overloads into std namespace 2021-10-22 15:06:05 -04:00
frank 3e5e0fcbb8 pass attributes as int 2021-10-17 03:26:15 -04:00
frank 3baaa7624e add dimensions and type functions to attributes class 2021-10-14 02:55:17 -04:00
frank 64f6b765a7 add index to attributes class 2021-10-14 00:31:35 -04:00
frank 1690bb5f19 attributes object for holding generic gl vertices 2021-10-13 00:34:11 -04:00