Implemented 3D drawing using frustum