Thread: Trig problems
View Single Post
  #3   Spotlight this post!  
Unread 17-02-2006, 21:54
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Trig problems

I can't vouch for the specific code you're using, but make sure that your sin() function actually wants an angle in floating point radians. Many take integers, as floating point is many times slower...

If this isn't the problem, posting the code you're using will help greatly
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!