All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
eafd18dac0
commit
25c3ba7338
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user