Added scaling support for triangle meshes