Cone and Plane are abstract types. Only unions of isbits types are fast.
If you are using 64 bits floats then you probably want the type to be Union{Cone{Float64},Plane{Float64}}.
6 Likes
Cone and Plane are abstract types. Only unions of isbits types are fast.
If you are using 64 bits floats then you probably want the type to be Union{Cone{Float64},Plane{Float64}}.