Use of static_cast and implemented 3D features