mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-09 12:07:27 +00:00
add drawCircleLinesV
This commit is contained in:
parent
dfd0e4ffa8
commit
90bb1071dc
@ -205,6 +205,7 @@ pub extern "c" fn DrawCircleSectorLines(center: rl.Vector2, radius: f32, startAn
|
||||
pub extern "c" fn DrawCircleGradient(centerX: c_int, centerY: c_int, radius: f32, color1: rl.Color, color2: rl.Color) void;
|
||||
pub extern "c" fn DrawCircleV(center: rl.Vector2, radius: f32, color: rl.Color) void;
|
||||
pub extern "c" fn DrawCircleLines(centerX: c_int, centerY: c_int, radius: f32, color: rl.Color) void;
|
||||
pub extern "c" fn DrawCircleLinesV(center: rl.Vector2, radius: f32, color: rl.Color) void;
|
||||
pub extern "c" fn DrawEllipse(centerX: c_int, centerY: c_int, radiusH: f32, radiusV: f32, color: rl.Color) void;
|
||||
pub extern "c" fn DrawEllipseLines(centerX: c_int, centerY: c_int, radiusH: f32, radiusV: f32, color: rl.Color) void;
|
||||
pub extern "c" fn DrawRing(center: rl.Vector2, innerRadius: f32, outerRadius: f32, startAngle: f32, endAngle: f32, segments: c_int, color: rl.Color) void;
|
||||
|
@ -2184,6 +2184,10 @@ pub fn drawCircleLines(centerX: i32, centerY: i32, radius: f32, color: Color) vo
|
||||
cdef.DrawCircleLines(@as(c_int, centerX), @as(c_int, centerY), radius, color);
|
||||
}
|
||||
|
||||
pub fn drawCircleLinesV(center: Vector2, radius: f32, color: Color) void {
|
||||
cdef.DrawCircleLinesV(center, radius, color);
|
||||
}
|
||||
|
||||
pub fn drawEllipse(centerX: i32, centerY: i32, radiusH: f32, radiusV: f32, color: Color) void {
|
||||
cdef.DrawEllipse(@as(c_int, centerX), @as(c_int, centerY), radiusH, radiusV, color);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user