adding stuff from yako3d to this legacy 2.2