wiki:DevGuide/BaseTypes

Base Types

As one goal of OpenSG is the ability to run programs on a lot of different platforms, especially Unix and Windows, we have our own types which are guaranteed to have the same size on all platforms.

We have our own signed and unsigned integers in all useful sizes: Int8, UInt8, Int16, UInt16, Int32, UInt32, Int64, UInt64 as well as the two usual float sizes Real32 and Real64. Some useful constant are available: Eps, Pi, Inf and NegInf. A useful construct for template programming is the TypeTraits?<type> structure, which defines some standard functions/values for the given type, see OSGBaseTypes.h for details.

Last modified 7 years ago Last modified on 01/17/10 01:11:44