Skip to main content

3D Rotations

A simulation of 3D rotations using 3 angles!

Ian Mallett
OK, before you start, you need to know a little math.
For starters, the 2D games most people make use 1 angle.
Spherical coordinates use 2.
This uses 3, and is comparable in complexity to a 4-dimensional coordianate system.
To solve this problem, I had to resort to matrices to do my trigonometry. Anyway, it was all very complicated, and I spent all day yesterday, working an hour into today to make it work. It doesn't look like much, but it was really, really, really, so hard.
Naturally, since I'm SUCH a nice person, I'm giving it here so you don't waste half your weekend staring into space trying to get this working.



Home Page


3D Rotations 2.0.0 — 10 Feb, 2008

3D Rotations 2.0.1 — 3 Jan, 2018 account Comments

  • Oof Boye 2018-02-12 19:22:25.407041

    can you give resources where you learned this. i'm really interested
  • fs 2018-11-05 14:00:35.443306