migrated double -> float , added libgdx, migrated 2D -> 3D