Jittery Movement and Uncontrollable Rotating

Started by
19 comments, last by vipar 10 years, 8 months ago

It won't, but it's just easier working in the correct units for the functions, which in the case of angles is radians, since that makes the maths easier. You aren't gonna measure the speed of your car in furlongs per fortnight are you? As soon as you start doing calculus you should forget about degrees entirely. The only other sensible option is wangs, wide angles, which are like wchars but have 65536 wangs in a full circle instead of 2pi radians, since they play nice with integer overflow on computers ;)

[note: I just made up wangs but I like it as a terminology ;)]

And if you are asked to draw a right angled triangle with an angle of 45 degrees, you measure the angle anticlockwise from the x axis don't you? That's how all the trig functions are defined. I have no idea why computer scientists like measuring their angles clockwise from due North myself, maybe they want to be sailors?

Given that a Vectors Rotation is calculated in Degrees (which is how they are defined in SFML [0, 360]) I have to calculate in degrees tongue.png

It's not a choice.

CEO of Dynamic Realities

This topic is closed to new replies.

Advertisement