ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
This commit is contained in:
@@ -20,20 +20,23 @@
|
||||
|
||||
SetSamplerOperation::SetSamplerOperation() : NodeOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
}
|
||||
|
||||
void SetSamplerOperation::initExecution()
|
||||
{
|
||||
this->m_reader = this->getInputSocketReader(0);
|
||||
this->m_reader = this->getInputSocketReader(0);
|
||||
}
|
||||
void SetSamplerOperation::deinitExecution()
|
||||
{
|
||||
this->m_reader = NULL;
|
||||
this->m_reader = NULL;
|
||||
}
|
||||
|
||||
void SetSamplerOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
|
||||
void SetSamplerOperation::executePixelSampled(float output[4],
|
||||
float x,
|
||||
float y,
|
||||
PixelSampler /*sampler*/)
|
||||
{
|
||||
this->m_reader->readSampled(output, x, y, this->m_sampler);
|
||||
this->m_reader->readSampled(output, x, y, this->m_sampler);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user