correction of the 3D basic entity: moved to opengl 3.X