/** * Translates @offset into local space and moves all vertices pointed to by triangles that amount. */ public static void TranslateVertices_World(this qe_Mesh mesh, int[] triangles, Vector3 offset) { mesh.TranslateVertices(triangles, mesh.transform.worldToLocalMatrix * offset); }