Переход на i32
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user