JuliaGeometry / GeometryBasics.jl

Basic Geometry Types
MIT License
165 stars 54 forks source link

Add conversions for different parameter types of primitives #195

Closed ffreyer closed 5 months ago

ffreyer commented 1 year ago

Something like this currently errors

rs = [Rect2(0,0,1,1)]
rs[1] = Rect2f(0,0,1,1)

because there are no conversion functions for these types. This pr aims to fix this for https://github.com/MakieOrg/Makie.jl/pull/2573 which would make it more likely for these types to collide.