Bump raylib to master (#283)
This commit is contained in:
parent
1e257d1738
commit
163b1ef2e9
8 changed files with 211 additions and 73 deletions
|
|
@ -3665,6 +3665,11 @@ pub fn drawLineBezier(startPos: Vector2, endPos: Vector2, thick: f32, color: Col
|
|||
cdef.DrawLineBezier(startPos, endPos, thick, color);
|
||||
}
|
||||
|
||||
/// Draw a dashed line
|
||||
pub fn drawLineDashed(startPos: Vector2, endPos: Vector2, dashSize: i32, spaceSize: i32, color: Color) void {
|
||||
cdef.DrawLineDashed(startPos, endPos, @as(c_int, dashSize), @as(c_int, spaceSize), color);
|
||||
}
|
||||
|
||||
/// Draw a color-filled circle
|
||||
pub fn drawCircle(centerX: i32, centerY: i32, radius: f32, color: Color) void {
|
||||
cdef.DrawCircle(@as(c_int, centerX), @as(c_int, centerY), radius, color);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue