Chapter 5. Usage

This chapter explains the usage of the Cal3D library step by step. The topics cover creation, modification, animation and rendering of models.

5.1. Preparations

Before you can start using the Cal3D library you need to include its cal3d.h header-file into your project:

Example 5-1. Header-File Inclusion


  #include "cal3d.h"
        

Make sure that the location of this header-file is included in the search-path of your compiler, so it is actually found while compiling. This file is very well suited to be handled as a precompiled header-file, in case your compiler supports this feature.

In addition your project has to be linked to the Cal3D library code to be built properly. This requires a successfully compiled Cal3D library. See Compilation for details.