1
0
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:
elsid 2022-09-12 23:57:10 +02:00
parent 219b9e7cbf
commit 50d8bd9cdd
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625
4 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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