Skip to content

Commit

Permalink
Added widgets data to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaysmito101 authored Oct 16, 2022
1 parent f7d049e commit c081df8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,21 @@ NOTE: Do not think that header only means its going to increase compile time as
- Condition Variables (TODO)
- NOTE: Implmented using `Win32 Threads` on Windows and `pthread` on linux. (on linux you need to link `pthread` to build)

* CGL Widgets (Optional)
- You can disable it by `#define CGL_EXCLUDE_WIDGETS`
- API Like [p5.js](https://p5js.org/)
- Bach Renderer backend (very fast even for a large number of widgets)
- draw (filled or stroked) :
- triangle [`CGL_widgets_add_triangle`]
- geeneral quad [`CGL_widgets_add_quad`]
- rectangle [`CGL_widgets_add_rect` `CGL_widgets_add_rect2f`]
- line [`CGL_widgets_add_line`]
- circle [`CGL_widgets_add_circle` `CGL_widgets_add_circle2f`]
- oval [`CGL_widgets_add_oval`, `CGL_widgets_add_oval2f`]
- Add individual verticices
- Adjust stroke color/thickness
- Customize Batch renderer max vertices capacity (for low memory systems)

* Math library
- vec2/vec3/vec4
- mat3/mat4
Expand Down

0 comments on commit c081df8

Please sign in to comment.