- data WrappedAffine a = WrappedAffine CoordinateSystem a
- wrapAffine :: a -> WrappedAffine a
- unwrapAffine :: AffineTransformable a => WrappedAffine a -> a
Documentation
data WrappedAffine a Source
WrappedAffine stores up affine transformations that are commited only when the entity is unwrapped. In this way we can store affine transformations for entities that can not be directly transformed, or for which delaying transformation an optimization.
wrapAffine :: a -> WrappedAffine aSource
unwrapAffine :: AffineTransformable a => WrappedAffine a -> aSource