Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of scoreLight_Advanced by
Diff: simpleLaserRenderer.cpp
- Revision:
- 1:a4050fee11f7
- Parent:
- 0:345b3bc7a0ea
- Child:
- 3:b44ff6de81bd
--- a/simpleLaserRenderer.cpp Wed Mar 28 14:40:01 2012 +0000
+++ b/simpleLaserRenderer.cpp Sat Mar 31 08:19:31 2012 +0000
@@ -4,7 +4,7 @@
//Note: when setting the config to render, we assume the number of blobs is fixed, and the number of points per blob is also fixed.
ptBlobCfToRender=ptBlobCf;
- totalBlobs=ptBlobCfToRender->numBlobs;
+ totalBlobs=ptBlobCfToRender->numBlobs; // equal in fact to blobArray.size()
// initialization of current indexes:
currentBlob=0;
@@ -25,9 +25,10 @@
IO.writeOutX(x);
IO.writeOutY(y);
+ // ATTENTION !!!!!!!!!!!!!!!!!!
// Reset current point to special "start value":
currentPoint=-1;
- // or start on first point (case of unique blob):
+ // or start on first point (case of unique blob rendering function):
// currentPoint=0;
}
