Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Sources/FirebladeMath/Point.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ extension Point {
extension Point: Equatable where Value: Equatable {}
extension Point: Hashable where Value: Hashable {}
extension Point: Codable where Value: Codable {}
extension Point: Sendable where Value: Sendable {}

extension Point where Value == Float {
/// Creates a point from a 2D float vector.
Expand Down
1 change: 1 addition & 0 deletions Sources/FirebladeMath/Rect.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ extension Rect {
extension Rect: Equatable where Value: Equatable {}
extension Rect: Hashable where Value: Hashable {}
extension Rect: Codable where Value: Codable {}
extension Rect: Sendable where Value: Sendable {}

extension Rect {
/// The minimum x-coordinate of the rectangle.
Expand Down
1 change: 1 addition & 0 deletions Sources/FirebladeMath/Size.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ extension Size {
extension Size: Equatable where Value: Equatable {}
extension Size: Hashable where Value: Hashable {}
extension Size: Codable where Value: Codable {}
extension Size: Sendable where Value: Sendable {}

extension Size where Value: FloatingPoint & ExpressibleByFloatLiteral {
/// The center point of the size, assuming a (0,0) origin.
Expand Down
Loading