Skip to content
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)

DashGL

  • Home
  • Shaders
  • Vector2
  • Vector3
  • Vector4
  • Matrix4x4

Vector 3


Matrix 4x4

Clone this wiki locally