mod_sim_defs_eng.hh File Reference

Definitions, constants, settings (some of which engine depends on). More...

Go to the source code of this file.

Namespaces

namespace  eng
namespace  eng::defs

Defines

#define MOD_SIM_ENG_DEFS_HH   1
#define LOCAL(COORD)   (COORD)
#define WORLD(COORD)   (COORD)


Detailed Description

Definitions, constants, settings (some of which engine depends on).

Id
LastChangedDate

Author:
Jim E. Brooks http://www.palomino3d.org
 * ----------------------------------------------------------------------------
 * This header file should only contain self-contained constants (no dependencies).
 * C++ const is preferred to use type-checking but some must be #defined
 * as some source files test them using #if.
 * NOTE: Be sure to WRITE A PERIOD IN FLOAT CONSTANTS defined by #define
 * or integer instructions could be compiled (with loss of accuracy).
 * ----------------------------------------------------------------------------
 * 

Define Documentation

#define LOCAL ( COORD   )     (COORD)

#define MOD_SIM_ENG_DEFS_HH   1

#define WORLD ( COORD   )     (COORD)

All local and world coordinate constants should be wrapped by WORLD()/LOCAL() in case in the future coordinate systems need to be scaled. Should be applied only to literal constants (not computed values nor macros).

Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:16 2007