mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Disable clang-format for files that should have minimal diff with OSG
This commit is contained in:
parent
219b9e7cbf
commit
50d8bd9cdd
@ -1,3 +1,4 @@
|
||||
// clang-format off
|
||||
/* This file is based on OpenSceneGraph's src/osgShadow/ViewDependentShadowMap.cpp.
|
||||
* Where applicable, any changes made are covered by OpenMW's GPL 3 license, not the OSGPL.
|
||||
* The original copyright notice is listed below.
|
||||
@ -3381,3 +3382,4 @@ osg::ref_ptr<osg::StateSet> SceneUtil::MWShadowTechnique::getOrCreateShadowsBinS
|
||||
}
|
||||
return _shadowsBinStateSet;
|
||||
}
|
||||
// clang-format on
|
||||
|
@ -1,3 +1,4 @@
|
||||
// clang-format off
|
||||
/* This file is based on OpenSceneGraph's include/osgShadow/ViewDependentShadowMap.
|
||||
* Where applicable, any changes made are covered by OpenMW's GPL 3 license, not the OSGPL.
|
||||
* The original copyright notice is listed below.
|
||||
@ -336,3 +337,4 @@ namespace SceneUtil {
|
||||
}
|
||||
|
||||
#endif
|
||||
// clang-format on
|
||||
|
@ -1,3 +1,4 @@
|
||||
// clang-format off
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
@ -1976,3 +1977,4 @@ void Optimizer::MergeGroupsVisitor::apply(osg::Group &group)
|
||||
}
|
||||
|
||||
}
|
||||
// clang-format on
|
||||
|
@ -1,3 +1,4 @@
|
||||
// clang-format off
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
@ -468,3 +469,4 @@ inline bool BaseOptimizerVisitor::isOperationPermissibleForObject(const osg::Nod
|
||||
}
|
||||
|
||||
#endif
|
||||
// clang-format on
|
||||
|
Loading…
Reference in New Issue
Block a user