Circular-Studios / Spectral-Robot

Spectral Robot Task Force
http://circularstudios.com
Other
8 stars 0 forks source link

[Camera] Variable for rotation amount #58

Open PxlBuzzard opened 10 years ago

PxlBuzzard commented 10 years ago

Can we remove the hardcoded 90.radians and move it to a YAML variable?

auto nextRot = prevRot.rotatey( 90.radians );
StencilChick commented 9 years ago

@zeDoctor I turned it into a variable but it breaks with any value not 90 degrees. Do you know why?

wozniakty commented 9 years ago

I can't think of any reason why non-90 values wouldn't work. It's pretty straightforward code so I don't see what would be causing an issue :/ rotatey should be able to take any value, not just 90.