diff options
Diffstat (limited to 'Spear/Math/Vector')
-rw-r--r-- | Spear/Math/Vector/Vector3.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Spear/Math/Vector/Vector3.hs b/Spear/Math/Vector/Vector3.hs index 9d44c8b..db5dc45 100644 --- a/Spear/Math/Vector/Vector3.hs +++ b/Spear/Math/Vector/Vector3.hs | |||
@@ -168,7 +168,7 @@ sizeFloat = sizeOf (undefined :: CFloat) | |||
168 | 168 | ||
169 | 169 | ||
170 | instance Storable Vector3 where | 170 | instance Storable Vector3 where |
171 | sizeOf _ = (3::Int) * sizeFloat | 171 | sizeOf _ = sizeVector3 |
172 | alignment _ = alignment (undefined :: CFloat) | 172 | alignment _ = alignment (undefined :: CFloat) |
173 | 173 | ||
174 | peek ptr = do | 174 | peek ptr = do |