Click or drag to resize
DigitalRuneDefinitions and Conventions

This topic describes definitions and conventions that are used in DigitalRune Physics.

Conventions and definitions

The library uses the following conventions and terms in the documentation and in the code.

Math and geometry conventions and definitions

DigitalRune Physics is based on DigitalRune Mathematics and DigitalRune Geometry and therefore uses the same conventions and definitions. Please read the documentation of these libraries.

Units

The units of measurement (for length, time and mass) can be chosen by the user of the library. DigitalRune Physics does not impose which units of measurement should be used. It works for with any system of units as long as the units are used consistently throughout the application.

However, the library contains default values for all simulation settings. The default values are based on a typical action game scenario using the SI standard units (m, s, kg, ... see International System of Units). It is strongly recommended to use the standard units. The default values need to be adjusted if another system of units (for example: inches, pounds, ...) is used.

Angles are measured in radians.