View Single Post
  #3   Spotlight this post!  
Unread 28-05-2013, 10:33
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Java Swerve Drive Math Inconsistencies


Is there a reason you left out the "if(max>1)" part of the normalization?

Code:
if(max>1){ws1/=max; ws2/=max; ws3/=max; ws4/=max;}