mirror of
https://github.com/Haskell-Things/ImplicitCAD.git
synced 2024-09-17 16:08:01 +03:00
drop both from Definitions
This commit is contained in:
parent
d2082aeec0
commit
ad45724dae
@ -17,7 +17,6 @@ module Graphics.Implicit.Definitions (
|
||||
module N,
|
||||
ℝ,
|
||||
ℝ2,
|
||||
both,
|
||||
ℝ3,
|
||||
minℝ,
|
||||
ComponentWiseMultable,
|
||||
@ -108,11 +107,6 @@ minℝ = 0.0000000000000002
|
||||
-- for Floats.
|
||||
--minℝ = 0.00000011920928955078125 * 2
|
||||
|
||||
-- | apply a function to both items in the provided tuple.
|
||||
both :: (t -> b) -> (t, t) -> (b, b)
|
||||
both f (x,y) = (f x, f y)
|
||||
{-# INLINABLE both #-}
|
||||
|
||||
-- Wrap the functions that convert datatypes.
|
||||
|
||||
-- | Convert from our Integral to our Rational.
|
||||
|
Loading…
Reference in New Issue
Block a user