mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 08:10:26 +02:00
Reformat the code, using:
find -type f | # list all regular files grep -E '\.(h|cpp|mm)$' | # filter for source files grep -v '/mt_' | # filter out generated files grep -v '/vendor/' | # and vendored GL grep -v '/test/image_loader_test.cpp' | # and this file (has giant literals arrays) xargs -n 1 -P $(nproc) clang-format -i # reformat everything Co-authored-by: numzero <numzer0@yandex.ru>
This commit is contained in:
@ -15,7 +15,6 @@
|
||||
#include "irrArray.h"
|
||||
#include "EAttributes.h"
|
||||
|
||||
|
||||
namespace irr
|
||||
{
|
||||
namespace io
|
||||
@ -33,16 +32,15 @@ namespace io
|
||||
class IAttribute : public virtual IReferenceCounted
|
||||
{
|
||||
public:
|
||||
virtual ~IAttribute(){};
|
||||
|
||||
virtual ~IAttribute() {};
|
||||
virtual s32 getInt() const { return 0; }
|
||||
virtual f32 getFloat() const { return 0; }
|
||||
virtual bool getBool() const { return false; }
|
||||
|
||||
virtual s32 getInt() const { return 0; }
|
||||
virtual f32 getFloat() const { return 0; }
|
||||
virtual bool getBool() const { return false; }
|
||||
|
||||
virtual void setInt(s32 intValue) {};
|
||||
virtual void setFloat(f32 floatValue) {};
|
||||
virtual void setBool(bool boolValue) {};
|
||||
virtual void setInt(s32 intValue){};
|
||||
virtual void setFloat(f32 floatValue){};
|
||||
virtual void setBool(bool boolValue){};
|
||||
|
||||
core::stringc Name;
|
||||
|
||||
|
Reference in New Issue
Block a user