Apply clang-format to code base

This commit is contained in:
clang-format-bot 2022-09-22 21:26:05 +03:00 committed by ζeh Matt
parent f37d0be806
commit ddb0522bbf
No known key found for this signature in database
GPG key ID: 18CE582C71A225B0
2199 changed files with 118692 additions and 114392 deletions

View file

@ -37,15 +37,15 @@ namespace SceneUtil
META_Node(SceneUtil, Skeleton)
/// Retrieve a bone by name.
Bone* getBone(const std::string& name);
/// Retrieve a bone by name.
Bone* getBone(const std::string& name);
/// Request an update of bone matrices. May be a no-op if already updated in this frame.
void updateBoneMatrices(unsigned int traversalNumber);
enum ActiveType
{
Inactive=0,
Inactive = 0,
SemiActive, /// Like Active, but don't bother with Update (including new bounding box) if we're off-screen
Active
};
@ -68,7 +68,7 @@ namespace SceneUtil
// As far as the scene graph goes we support multiple root bones.
std::unique_ptr<Bone> mRootBone;
typedef std::unordered_map<std::string, std::vector<osg::MatrixTransform*> > BoneCache;
typedef std::unordered_map<std::string, std::vector<osg::MatrixTransform*>> BoneCache;
BoneCache mBoneCache;
bool mBoneCacheInit;