Переход на i32

This commit is contained in:
2026-03-03 15:26:01 +03:00
parent 7aa9673b44
commit 5b1b3a8c5e
3 changed files with 22 additions and 20 deletions

View File

@@ -89,7 +89,7 @@ pub fn draw(ctx: *DrawContext, obj: *const Object) void {
const ny = loc_y * inv_ry;
const d = nx * nx + ny * ny;
if (d >= d_inner_sq and d <= d_outer_sq) {
ctx.blendPixelAtBuffer(@intCast(bx), @intCast(by), stroke);
ctx.blendPixelAtBuffer(bx, by, stroke);
}
}
}