#include "ZGo.h"



//---- ZGoMakeVector

ZGoMakeVector::ZGoMakeVector(ZGo *zgo, ZGoPARAMS *input, ZGoPARAMS *output)
{
  this->zgo = zgo;
  this->input = input->setInput(this);
  this->output = output->setOutput(this);

  this->fnType = new ZGoNAME(zgo, "ZGoSine");

  //  Parameters

  x = (ZGoREAL *)input->get("x");
  y = (ZGoREAL *)input->get("y");
  z = (ZGoREAL *)input->get("z");
  result = (ZGoVECTOR *)output->get("result");
}
  
void ZGoMakeVector::process()
{
  x->process();
  y->process();
  z->process();

  result->x = x->value;
  result->y = y->value;
  result->z = z->value;
}
