invisible

view src/main.cc @ 0:80df8030105b

init kinect
author Eleni Maria Stea <eleni@mutantstargoat.com>
date Sat, 05 Oct 2013 16:03:08 +0300
parents
children b0b90ef993a0
line source
1 #include <stdio.h>
3 #include "kinect.h"
5 freenect_context *kin_ctx;
6 freenect_device *kin_dev;
7 KinectParams kin_params;
9 int main()
10 {
11 printf("hi\n");
13 if(!init_kinect(&kin_ctx, &kin_dev, &kin_params))
14 return 1;
16 stop_kinect(kin_ctx, kin_dev);
17 }