All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent ef997f2259
commit 9fe130cd73
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -22,13 +22,12 @@
***************************************************************************/
# include <Inventor/nodes/SoText2.h>
# include <Inventor/nodes/SoCoordinate3.h>
# include <Inventor/nodes/SoIndexedLineSet.h>
# include <Inventor/nodes/SoPickStyle.h>
# include <Inventor/nodes/SoSeparator.h>
# include <Inventor/nodes/SoTranslation.h>
#include <Inventor/nodes/SoText2.h>
#include <Inventor/nodes/SoCoordinate3.h>
#include <Inventor/nodes/SoIndexedLineSet.h>
#include <Inventor/nodes/SoPickStyle.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoTranslation.h>
#include <Base/Tools.h>
@@ -63,19 +62,19 @@ ViewProviderLine::ViewProviderLine()
ViewProviderLine::~ViewProviderLine() = default;
void ViewProviderLine::attach(App::DocumentObject *obj)
void ViewProviderLine::attach(App::DocumentObject* obj)
{
ViewProviderDatum::attach(obj);
// indexes used to create the edges
static const int32_t lines[4] = { 0, 1, -1 };
static const int32_t lines[4] = {0, 1, -1};
SoSeparator *sep = getDatumRoot();
SoSeparator* sep = getDatumRoot();
pCoords = new SoCoordinate3();
sep->addChild(pCoords);
auto pLines = new SoIndexedLineSet();
auto pLines = new SoIndexedLineSet();
pLines->coordIndex.setNum(3);
pLines->coordIndex.setValues(0, 3, lines);
sep->addChild(pLines);