libgfx: A Library for Writing Graphics Programs
Author: Michael Garland

# libgfx: A Graphics Library

This software and associated documentation files are Copyright © 1999–2001 Michael Garland. Please see the accompanying License for details.

## Contents

- Introduction
- Building the Library
- Getting Started
- Vector Math
  - 2-D vectors
  - 3-D vectors
  - 4-D vectors
- Matrix Math
  - 2-D matrices
  - 3-D matrices
  - 4-D matrices
- Packed Integer Vectors
- Quaternions
- 3-D Geometric Procedures
- OpenGL Support
- Raster Images
- Minimalist GUI framework
- Interactive Rotation Control
- Simple File Format Scripting
- Example Programs
  - Simple GUI Program
  - Simple Scripted Program
- Copyright Notice and License

## Introduction

The purpose of this library is to simplify the creation of computer graphics software. Specifically, it is targeted towards cross-platform development using the OpenGL rendering API and the FLTK interface toolkit. It is derived from the MixKit library I developed for supporting polygonal surface simplification. This is not a full-fledged graphics engine. Rather it provides facilities which are useful in the majority of graphics programs.