From 1641253a1f8f6c5e7e7efa676c27e24c82893dfb Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 12 Jan 2012 13:11:28 +0000 Subject: fixed gymbal lock, light on-off --- map4.layout | 10 +++++----- src/testApp.cpp | 8 ++++++++ src/testApp.h | 2 ++ src/viewpoint.cpp | 13 ++++++++++--- 4 files changed, 25 insertions(+), 8 deletions(-) diff --git a/map4.layout b/map4.layout index 406cfcd..75b17ee 100644 --- a/map4.layout +++ b/map4.layout @@ -19,14 +19,14 @@ - - + + - + - - + + diff --git a/src/testApp.cpp b/src/testApp.cpp index ab0987b..37717fa 100644 --- a/src/testApp.cpp +++ b/src/testApp.cpp @@ -29,6 +29,8 @@ void testApp::setup(){ mode=CALIBRATE; loadSettings(); + + light=true; } //-------------------------------------------------------------- @@ -41,6 +43,8 @@ void testApp::draw(){ for (int i=0;i