This commit is contained in:
blueloveTH 2024-01-19 22:44:57 +08:00
parent e56a339b55
commit 9637dc9ef0

View File

@ -250,7 +250,7 @@ static Vec2 SmoothDamp(Vec2 current, Vec2 target, PyVec2& currentVelocity, float
return vm->heap.gcnew<PyMat3x3>(PK_OBJ_GET(Type, args[0]), mat);
}
vm->TypeError(fmt("Mat3x3.__new__ takes 0 or 1 or 9 arguments, got ", args.size()-1));
PK_UNREACHABLE();
return vm->None;
});
vm->bind_method<1>(type, "copy_", [](VM* vm, ArgsView args){