zacharycarter / zengine

2D | 3D Game development library
157 stars 13 forks source link

Rotating about the (0, 0, 0) axis #46

Open define-private-public opened 6 years ago

define-private-public commented 6 years ago

Say if we do zglRotatef(35, 0, 0, 0); It's going to make whatever we want go to (0, 0, 0). I.e. it will make any model with this transform applied disappear. This is not good.

I can't tell if the original glRotatef() function would ignore a <0, 0, 0> rotation vector or not. This needs a little investigation.