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 eafd18dac0
commit 25c3ba7338
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -22,13 +22,12 @@
***************************************************************************/
# include <Inventor/nodes/SoSphere.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/SoSphere.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 "ViewProviderPoint.h"
@@ -45,7 +44,8 @@ ViewProviderPoint::ViewProviderPoint()
ViewProviderPoint::~ViewProviderPoint() = default;
void ViewProviderPoint::attach(App::DocumentObject * obj) {
void ViewProviderPoint::attach(App::DocumentObject* obj)
{
ViewProviderDatum::attach(obj);
// The coordinates for the point (single vertex at the origin)
@@ -58,7 +58,9 @@ void ViewProviderPoint::attach(App::DocumentObject * obj) {
pCoords->point.setValue(point);
sep->addChild(pCoords);
static const float size = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/View")->GetFloat("DatumPointSize", 2.5);
static const float size = App::GetApplication()
.GetParameterGroupByPath("User parameter:BaseApp/Preferences/View")
->GetFloat("DatumPointSize", 2.5);
auto sphere = new SoSphere();
sphere->radius.setValue(size);
sep->addChild(sphere);