Incomplete 3d transforms code