Thread: Camera Code
View Single Post
  #2   Spotlight this post!  
Unread 25-01-2011, 20:38
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Camera Code

imagepres = false; only gets set if there are color hits.
this is because it is in the for loop.

if the colorhits.length = 0 it should get set to false too

__________________
"Never let your schooling interfere with your education" -Mark Twain
Reply With Quote