invisible
annotate src/main.cc @ 1:fdbd55eaa14e
add frame class, mutices
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Sat, 05 Oct 2013 19:02:40 +0300 |
parents | |
children | b0b90ef993a0 |
rev | line source |
---|---|
eleni@0 | 1 #include <stdio.h> |
eleni@0 | 2 |
eleni@0 | 3 #include "kinect.h" |
eleni@0 | 4 |
eleni@0 | 5 freenect_context *kin_ctx; |
eleni@0 | 6 freenect_device *kin_dev; |
eleni@0 | 7 KinectParams kin_params; |
eleni@0 | 8 |
eleni@0 | 9 int main() |
eleni@0 | 10 { |
eleni@0 | 11 printf("hi\n"); |
eleni@0 | 12 |
eleni@0 | 13 if(!init_kinect(&kin_ctx, &kin_dev, &kin_params)) |
eleni@0 | 14 return 1; |
eleni@0 | 15 |
eleni@0 | 16 stop_kinect(kin_ctx, kin_dev); |
eleni@0 | 17 } |