Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_DotproductOperation.cc
| Show All 19 Lines | |||||
| namespace blender::compositor { | namespace blender::compositor { | ||||
| DotproductOperation::DotproductOperation() | DotproductOperation::DotproductOperation() | ||||
| { | { | ||||
| this->addInputSocket(DataType::Vector); | this->addInputSocket(DataType::Vector); | ||||
| this->addInputSocket(DataType::Vector); | this->addInputSocket(DataType::Vector); | ||||
| this->addOutputSocket(DataType::Value); | this->addOutputSocket(DataType::Value); | ||||
| this->setResolutionInputSocketIndex(0); | this->set_canvas_input_index(0); | ||||
| this->m_input1Operation = nullptr; | this->m_input1Operation = nullptr; | ||||
| this->m_input2Operation = nullptr; | this->m_input2Operation = nullptr; | ||||
| flags.can_be_constant = true; | flags.can_be_constant = true; | ||||
| } | } | ||||
| void DotproductOperation::initExecution() | void DotproductOperation::initExecution() | ||||
| { | { | ||||
| this->m_input1Operation = this->getInputSocketReader(0); | this->m_input1Operation = this->getInputSocketReader(0); | ||||
| this->m_input2Operation = this->getInputSocketReader(1); | this->m_input2Operation = this->getInputSocketReader(1); | ||||
| Show All 34 Lines | |||||