Solution to the gimbal lock!!!

BlitzMax Modules Forums/MiniB3D/Solution to the gimbal lock!!!

but it's working in my engine? i testet it with an entity, which is attached on another, and then moved 4 units in local space, and then i have set the parent to rotate 1 degree on each axis each frame, and it looks like it should?