gwnavruntime/basesystem/floatformatter.h Source File
Go to the documentation of this file.
8 #ifndef Navigation_FloatFormatter_H
9 #define Navigation_FloatFormatter_H
25 FloatFormatter(const
char* format = "%.2f") : m_format(format) { KY_UNUSED(m_buffer); KY_UNUSED(m_format); }
29 #ifndef KY_NO_LOG_OUTPUT
30 SFsprintf(m_buffer,
ArraySize(m_buffer), m_format, value);
45 #endif //Navigation_FloatFormatter_H
#define KY_NULL
Null value.
Definition: types.h:247
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
KyUInt32 ArraySize(T(&)[N])
Returns the size of a fixed-size array.
Definition: types.h:361
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43