view spe/TitleMove.cc @ 25:aa37f220b7a8

add new files, not working.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Wed, 24 Nov 2010 19:24:43 +0900
parents c015109a6041
children
line wrap: on
line source

#include <stdio.h>
#include "SchedTask.h"
#include "TitleMove.h"
#include "Func.h"

/* これは必須 */
SchedDefineTask1(TitleMove, titlemove);

static int
titlemove(SchedTask *s,void *rbuf, void *wbuf)
{
  ObjPropertyPtr i_obj;
  ObjPropertyPtr o_obj;

  i_obj = (ObjPropertyPtr)s->get_input(rbuf, 0);
  o_obj = (ObjPropertyPtr)s->get_output(wbuf, 0);
  
  o_obj[0] = i_obj[0];

  //printf("x = %f\n", i_obj[0].x);
  //printf("y = %f\n", i_obj[0].y);

  return 0;
}