Mercurial > hg > tweakathon2ios
comparison UI code/3DboxGL.h @ 34:3af380769779
small fixes, logging now sensible.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 26 Nov 2014 14:04:05 +0000 |
parents | 75202498bee9 |
children |
comparison
equal
deleted
inserted
replaced
33:93317878abef | 34:3af380769779 |
---|---|
10 #define __tweakathlon___DboxGL__ | 10 #define __tweakathlon___DboxGL__ |
11 | 11 |
12 #include <iostream> | 12 #include <iostream> |
13 #include "3Dbox.h" | 13 #include "3Dbox.h" |
14 #include "UIElement.h" | 14 #include "UIElement.h" |
15 | 15 #include "algorithms.h" |
16 | 16 |
17 //Universal function which sets normals for the triangle meshvoid | 17 //Universal function which sets normals for the triangle meshvoid |
18 void setNormals( ofMesh &mesh ); | 18 void setNormals( ofMesh &mesh ); |
19 | 19 |
20 float euclideanDistance(vector<float> v1, vector<float> v2); | 20 //float euclideanDistance(vector<float> v1, vector<float> v2); |
21 | 21 |
22 class Leap3DBoxGL : public Leap3DBox { | 22 class Leap3DBoxGL : public Leap3DBox { |
23 public: | 23 public: |
24 Leap3DBoxGL(float ax, | 24 Leap3DBoxGL(float ax, |
25 float ay, | 25 float ay, |