Browse files

renaming sample data and undoing some debug code

  • Loading branch information...
1 parent 61c7f79 commit 5c58f0590acbb2a9fefb72ac62c7b982e003ba62 @tbuser committed May 16, 2011
View
0 data/laser.mov → data/gnome_laser.mov
File renamed without changes.
View
0 data/texture.mov → data/gnome_texture.mov
File renamed without changes.
View
4 spinscan.pde
@@ -462,8 +462,8 @@ public void processScanFrame() {
// println(camPointDistance + " brightestX: " + brightestX + " frame: " + frame + " line: " + y + " camAngle: " + camAngle + " myCamAngle: " + myCamAngle);
// radius = ASAtoSAS(camAngle, camDistance, laserOffset);
- float centerAngle = 180.0 - camAngle + laserOffset;
- radius = camDistance * sin(camAngle * degreesToRadians) / sin(centerAngle * degreesToRadians);
+ float pointAngle = 180.0 - camAngle + laserOffset;
+ radius = camDistance * sin(camAngle * degreesToRadians) / sin(pointAngle * degreesToRadians);
// float pointX = radius * sin(frameAngle * degreesToRadians);
// float pointY = radius * cos(frameAngle * degreesToRadians);

0 comments on commit 5c58f05

Please sign in to comment.