Thread
:
remainder function
View Single Post
#
10
02-01-2013, 01:21 PM
Racer26
Registered User
no team
Team Role: Alumni
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Re: remainder function
OK, so do this instead:
Code:
output = (719 % 360 > 180) ? (-360 + (719 % 360)) : (719 % 360);
Racer26
View Public Profile
Find all posts by Racer26
Find CD-Media Photos by Racer26
Find CD-Media Papers by Racer26