14. OEMath Template Functions

Most of OEMath's geometry functions operate on co-ordinates, that are represented by arrays of either floats, doubles or long doubles. The use of templates allows these algorithms to be specialized for the type of the co-ordinates, ``T''.

By convention, in the declarations described below input read-only parameters are named p, q, r, s, etc..., whilst output and in-out parameters are named x, y and z.


Subsections