3D version added, used uncrustify with default config, changes pending