-inline void write_angle(float angle, Entity* entity)
-{
- if(angle == 0)
- {
- entity->setKeyValue("angle", "");
- }
- else
- {
- char value[64];
- sprintf(value, "%f", angle);
- entity->setKeyValue("angle", value);
- }
+inline void write_angle( float angle, Entity* entity ){
+ if ( angle == 0 ) {
+ entity->setKeyValue( "angle", "" );
+ }
+ else
+ {
+ char value[64];
+ sprintf( value, "%f", angle );
+ entity->setKeyValue( "angle", value );
+ }