So this is was my issue, I had an if statement
console.log( a );
if( a ){
console.log('made it here');
}
console.log( a );
and a was being assigned by dat.GUI, you had a drop down menu and it would assign either true of false to a.
my console output would read
true
true
And I'm scratching my head cursing the computer for never getting me to 'made it here'
then I test a before dat.GUI gets ahold of it and it spits out
true
Now I'm color blind and seeing the difference between the two was only achieved once I happened to be looking at the screen from the right angle. Then I realised that dat.GUI wasn't setting it to true but rather 'true'. :angry: