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

@@ -46,39 +46,41 @@ SoFCTransform::SoFCTransform()
SO_NODE_CONSTRUCTOR(SoFCTransform);
}
void SoFCTransform::GLRender(SoGLRenderAction * action)
void SoFCTransform::GLRender(SoGLRenderAction* action)
{
SoFCTransform::doAction(action);
}
void SoFCTransform::callback(SoCallbackAction * action)
void SoFCTransform::callback(SoCallbackAction* action)
{
SoFCTransform::doAction(action);
}
void SoFCTransform::pick(SoPickAction * action)
void SoFCTransform::pick(SoPickAction* action)
{
SoFCTransform::doAction(action);
}
void SoFCTransform::getPrimitiveCount(SoGetPrimitiveCountAction * action)
void SoFCTransform::getPrimitiveCount(SoGetPrimitiveCountAction* action)
{
SoFCTransform::doAction(action);
}
void SoFCTransform::getBoundingBox(SoGetBoundingBoxAction * action)
void SoFCTransform::getBoundingBox(SoGetBoundingBoxAction* action)
{
SoFCTransform::doAction(action);
}
void SoFCTransform::doAction(SoAction * action)
void SoFCTransform::doAction(SoAction* action)
{
SbMatrix matrix;
matrix.setTransform(this->translation.getValue(),
this->rotation.getValue(),
this->scaleFactor.getValue(),
this->scaleOrientation.getValue(),
this->center.getValue());
matrix.setTransform(
this->translation.getValue(),
this->rotation.getValue(),
this->scaleFactor.getValue(),
this->scaleOrientation.getValue(),
this->center.getValue()
);
// This is different to SoTransform::doAction() where model matrix
// is always set