Laser Sensing Display for UI interfaces in the real world

Dependencies:   mbed

Fork of skinGames_forktest by Alvaro Cassinelli

Revision:
40:3ba2b0ea9f33
Child:
45:5ef809480c12
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/text3D.h	Wed Oct 16 16:14:27 2013 +0000
@@ -0,0 +1,34 @@
+
+// Class for creating 3d "flying" texts
+// NOT USED FOR THE TIME BEING. 
+
+#ifndef text3d_h
+#define text3d_h
+
+#include "Scene.h" // in fact, we want to include BaseObject.h (separate the files?)
+
+#include <string>
+using namespace std;
+
+class letter3D : public BaseObject {
+  
+  public: 
+  
+        // Constructor & destructor: 
+        letter3D(char letter, float width, float height);
+        //~letter3D();
+        
+        weight(float with, float height); // resizing factor for the letter (note: this could be done using the lsr object, but this provides an easier more
+        // direct method when creating letters). 
+       
+       // A letter is just like a normal BaseObject, but provides methods to create it with a certain size (in the future.. font?)
+         char ascii; // the ascii code (for identifying it if required, not necessarily the object ID)
+         float width, height;
+        // ====================================
+        
+        private: 
+        void fillLetter(char ch);   
+};
+
+#endif
+