MinGfx Toolkit  1.0
A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.
API - MinGfx Programming Reference Organized by Topic

API by Topic

Application Class
GraphicsApp
3D Models
QuickShapes
Mesh
Color and Textures
Color
Texture2D
Graphics Math
Matrix4
Point2
Point3
Vector2
Vector3
Ray
Quaternion
GfxMath
Shader Programs
DefaultShader
- DefaultShader::LightProperties
- DefaultShader::MaterialProperties
ShaderProgram
User Interface
CraftCam
UniCam
File I/O and System Routines
Platform

Coding Style

The library follows the Google C++ Style Guide, in part as an example for students, since this style is also used in several courses. There are several things that programmers who are not familiar with the Google style might find unusual. These are the most common style rules to note:

  • C++ source filenames are all lowercase with underscores, and a .cc extension is used instead of .cpp.
  • Variable names are all lowercase with underscores.
  • Class member variables are named the same as regular variables but with a trailing _, as in my_member_var_.
  • Functions start with capital letters unless they are small getter or setter methods.
  • There are many other rules, a solid discussion of pros/cons, and an automated style checker here.