Remove HACK annotation
Apparently there isn't a more efficient method.
This commit is contained in:
parent
3c2ebdc048
commit
8e58fc8a1a
|
@ -20,7 +20,6 @@ Rotation = Transform TRotation
|
||||||
|
|
||||||
|
|
||||||
||| Determine if a matrix represents a rotation.
|
||| Determine if a matrix represents a rotation.
|
||||||
-- HACK: Replace with more efficient method
|
|
||||||
export
|
export
|
||||||
isRotation' : FieldCmp a => Matrix' n a -> Bool
|
isRotation' : FieldCmp a => Matrix' n a -> Bool
|
||||||
isRotation' mat = isOrthonormal' mat && det mat == 1
|
isRotation' mat = isOrthonormal' mat && det mat == 1
|
||||||
|
|
Loading…
Reference in a new issue