10 lines
205 B
Swift
10 lines
205 B
Swift
import CSDL3
|
|
|
|
public struct Rect: Sendable {
|
|
var handle: SDL_FRect
|
|
|
|
public init(x: Float = 0, y: Float = 0, w: Float = 0, h: Float = 0) {
|
|
handle = SDL_FRect(x: x, y: y, w: w, h: h)
|
|
}
|
|
}
|