just a test

Dependencies:   mbed

Fork of scoreLight_Advanced by Alvaro Cassinelli

Revision:
12:0de9cd2bced5
Parent:
7:0df17f3078bc
Child:
21:bc9b9383f4b6
--- a/rigidLoop.h	Thu Apr 12 05:16:48 2012 +0000
+++ b/rigidLoop.h	Thu Apr 12 08:38:44 2012 +0000
@@ -19,8 +19,8 @@
     ~rigidLoop();
     
     // instantiation of the virtual methods of the base class (we don't need to append "virtual", but for clarity I do):
-    void createBlob(int _id, RigidLoopMode _rigidBlobMode, vector2D _initPos, vector2D _initSpeed);
-    virtual void setRegionMotion(int mmix, int mmiy, int mmax, int mmay); // attention: initial position posX and posY should be inside this bounding box...
+    void createBlob(int _id, RigidLoopMode _rigidBlobMode, vector2Df _initPos, vector2Df _initSpeed);
+    virtual void setRegionMotion(float mmix, float mmiy, float mmax, float mmay); // attention: initial position posX and posY should be inside this bounding box...
     virtual void update();  // update dynamics of the mass loop   
     virtual void draw(void);  // draw the blob (renders on the laser trajectory object lsdTrajectory from the base class, using the openGL laser renderer - not yet done).
     virtual void computeBoundingBox();
@@ -34,7 +34,7 @@
     RigidLoopMode updateMode;
 
  // The number of points in the loop (in this case, is just the number of points in the scaffold, as well as the number of points in the lsdTrajectory)
-    int numPoints;
+ // int numPoints; // this belongs to soundSpot base class
     pointMass centerMass; // this is the center of the rigidLoop. Note that it can have mass or not, this will depend on the RigidLoopMode
     
    // The following are common to all blobs: