mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Apply clang-format to code base
This commit is contained in:
parent
f37d0be806
commit
ddb0522bbf
2199 changed files with 118692 additions and 114392 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue