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

@ -9,10 +9,10 @@
#include <yaml-cpp/yaml.h>
#include <components/misc/osguservalues.hpp>
#include <components/sceneutil/depth.hpp>
#include <components/resource/scenemanager.hpp>
#include <components/shader/shadermanager.hpp>
#include <components/sceneutil/depth.hpp>
#include <components/serialization/osgyaml.hpp>
#include <components/shader/shadermanager.hpp>
#include <components/debug/debuglog.hpp>
@ -23,7 +23,8 @@ namespace SceneUtil
if (!mSceneMgr->getSoftParticles())
return;
const int unitSoftEffect = mSceneMgr->getShaderManager().reserveGlobalTextureUnits(Shader::ShaderManager::Slot::OpaqueDepthTexture);
const int unitSoftEffect
= mSceneMgr->getShaderManager().reserveGlobalTextureUnits(Shader::ShaderManager::Slot::OpaqueDepthTexture);
static const osg::ref_ptr<SceneUtil::AutoDepth> depth = new SceneUtil::AutoDepth(osg::Depth::LESS, 0, 1, false);
osg::StateSet* stateset = node.getOrCreateStateSet();