#include <set>
#include <limits>
+#include <util/buffer.h>
#include "math/frustum.h"
#include "string/string.h"
}
{
- char width[16], height[16];
- sprintf( width, "%u", Unsigned( m_width ) );
- sprintf( height, "%u", Unsigned( m_height ) );
+ auto width = u::buffer<16>();
+ auto height = u::buffer<16>();
+ width.sprintf( "%u", Unsigned( m_width ) );
+ height.sprintf( "%u", Unsigned( m_height ) );
StaticElement element( "matrix" );
element.insertAttribute( "width", width );
element.insertAttribute( "height", height );