Kion edited this page Sep 17, 2017 · 10 revisions

DashGL (Dash Graphics Library)

  • vector and matrix library
  • written in the C language
  • compatible with OpenGL
  • MIT License

Name Spaces & Types

  • vec2 : typedef float vec2[2];
  • vec3 : typedef float vec3[3];
  • mat3 : typedef float vec3[9];
  • mat4 : typedef float vec3[16];

Memory management

  • malloc is not used
  • functions use the pattern ([a, b], result)
  • variable to be copied into always last argument
  • underscore styling (similar to gtk)
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.