Skip to content

Commit

Permalink
remove FRep type since that approach doesn't really work, see #2
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkelly committed Apr 12, 2015
1 parent b1d37da commit 5b32e4d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,3 @@ type Sphere{N, T} <: AbstractPrimitive{N, T}
radius::T
location::NTuple{N, T}
end

abstract AbstractFRep{N,T} <: AbstractPrimitive{N, T}

immutable FRep{N, T} <: AbstractFRep{N,T}
primitive::AbstractPrimitive{N,T}
func::Function
end

call{T<:FRep}(f::T, x...) = f.func(x...)

0 comments on commit 5b32e4d

Please sign in to comment.