Uploaded December 2014 | Updated September 2026, 3 weeks ago
Today we allow sprite rotations with some simple math! Don't forget to grab the textures with the code in the link below!
Textures and Source Code: dropbox.com/s/23b0q6bqydg38yc/BenGraphicsTut39.zip?dl=0
Explanation of the math:
2D Rotations: siggraph.org/education/materials/HyperGraph/modeling/mod_tran/2drota.htm
Angle between two vectors:
euclideanspace.com/maths/algebra/vectors/angleBetween
Donate Via Paypal: goo.gl/ifsOMt
Twitter: twitter.com/ChillstepCoder
Seed Of Andromeda Channel: youtube.com/user/DubstepCoder
Seed Of Andromeda Website: seedofandromeda.com
Today we allow sprite rotations with some simple math! Don't forget to grab the textures with the code in the link below!
Textures and Source Code: dropbox.com/s/23b0q6bqydg38yc/BenGraphicsTut39.zip?dl=0
Explanation of the math:
2D Rotations: siggraph.org/education/materials/HyperGraph/modeling/mod_tran/2drota.htm
Angle between two vectors:
euclideanspace.com/maths/algebra/vectors/angleBetween
Donate Via Paypal: goo.gl/ifsOMt
Twitter: twitter.com/ChillstepCoder
Seed Of Andromeda Channel: youtube.com/user/DubstepCoder
Seed Of Andromeda Website: seedofandromeda.com










