| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Vec3.Unboxed.Contiguous
Description
Vec3 implementation with Unbox instance based
on single array storage scheme, suitable for use with
Data.Vector.Unboxed.
Documentation
Vec3 implementation with Unbox instance
based on a single contiguous array storage scheme, suitable for use
with Data.Vector.Unboxed.
Unbox instance provides the required index transformations.
interface: [d1 x y z ; d2 x y z ...], length = N = M / 3
| | | | | |
storage: [ d1x d2y d2z ; d2x d2y d2z ...], length = M