Clear all warnings
This commit is contained in:
@@ -174,7 +174,7 @@ safeNormalizeV p = (1/magV p ) *.* p
|
||||
-}
|
||||
magV :: Point2 -> Float
|
||||
{-# INLINE magV #-}
|
||||
magV (x,y) = sqrt $ x^2 + y^2
|
||||
magV (x,y) = sqrt $ x^(2::Int) + y^(2::Int)
|
||||
|
||||
{- | Magnitude of the cross product of two vectors.
|
||||
Identical to detV.
|
||||
|
||||
Reference in New Issue
Block a user