Math library defines data structures and their operators for mathematical objects, which include points, vectors, quaternions, and transformations.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Related author : Jehee Lee

Related Publication : Siggraph 1999 Graphical Models 2001 TVCG 2002 Siggraph 2002

Mathclass is a library which defines data structures and its operations for character animation.

It includes point, vector, orientation and transformation.

Those data sturctures are used as fundamental elements for other libraries like PmQm.

How to compile

We use Cmake interface to provide cross-platform compilation.

If you already have cmake, run

cd /dir/to/mathclass/
mkdir build
cd build
cmake ..
make -j4

Then, you have mathclass.a library file. The thing you have to do is including directory, and linking mathclass.a.

How to run examples

We provide simple examples to help you understand.

cd /dir/to/mathclass/examples/
mkdir build
cd build
cmake ..