packages feed

geomancy-0.4.1.0 / src / Geomancy / Swizzle / IVec / Shuffle.hs

{-# LANGUAGE BlockArguments #-}{-# LANGUAGE DataKinds #-}{-# LANGUAGE FlexibleInstances #-}{-# LANGUAGE MultiParamTypeClasses #-}{-# OPTIONS_GHC -Wno-orphans #-}module Geomancy.Swizzle.IVec.Shuffle () whereimport GHC.Records (HasField(..))import Geomancy.IVec2 (IVec2, ivec2, withIVec2)import Geomancy.IVec3 (IVec3, ivec3, withIVec3)import Geomancy.IVec4 (IVec4, ivec4, withIVec4)instance HasField "xx" IVec2 IVec2 where  {-# INLINE getField #-}  getField v = withIVec2 v \x _ -> ivec2 x xinstance HasField "xy" IVec2 IVec2 where  {-# INLINE getField #-}  getField v = vinstance HasField "yx" IVec2 IVec2 where  {-# INLINE getField #-}  getField v = withIVec2 v \x y -> ivec2 y xinstance HasField "yy" IVec2 IVec2 where  {-# INLINE getField #-}  getField v = withIVec2 v \_ y -> ivec2 y yinstance HasField "xxx" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x _ _ -> ivec3 x x xinstance HasField "xxy" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y _ -> ivec3 x x yinstance HasField "xxz" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x _ z -> ivec3 x x zinstance HasField "xyx" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y _ -> ivec3 x y xinstance HasField "xyy" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y _ -> ivec3 x y yinstance HasField "xyz" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = vinstance HasField "xzx" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x _ z -> ivec3 x z xinstance HasField "xzy" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y z -> ivec3 x z yinstance HasField "xzz" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x _ z -> ivec3 x z zinstance HasField "yxx" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y _ -> ivec3 y x xinstance HasField "yxy" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y _ -> ivec3 y x yinstance HasField "yxz" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y z -> ivec3 y x zinstance HasField "yyx" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y _ -> ivec3 y y xinstance HasField "yyy" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \_ y _ -> ivec3 y y yinstance HasField "yyz" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \_ y z -> ivec3 y y zinstance HasField "yzx" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y z -> ivec3 y z xinstance HasField "yzy" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \_ y z -> ivec3 y z yinstance HasField "yzz" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \_ y z -> ivec3 y z zinstance HasField "zxx" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x _ z -> ivec3 z x xinstance HasField "zxy" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y z -> ivec3 z x yinstance HasField "zxz" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x _ z -> ivec3 z x zinstance HasField "zyx" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x y z -> ivec3 z y xinstance HasField "zyy" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \_ y z -> ivec3 z y yinstance HasField "zyz" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \_ y z -> ivec3 z y zinstance HasField "zzx" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \x _ z -> ivec3 z z xinstance HasField "zzy" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \_ y z -> ivec3 z z yinstance HasField "zzz" IVec3 IVec3 where  {-# INLINE getField #-}  getField v = withIVec3 v \_ _ z -> ivec3 z z zinstance HasField "xxxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ _ -> ivec4 x x x xinstance HasField "xxxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 x x x yinstance HasField "xxxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 x x x zinstance HasField "xxxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 x x x winstance HasField "xxyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 x x y xinstance HasField "xxyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 x x y yinstance HasField "xxyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x x y zinstance HasField "xxyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x x y winstance HasField "xxzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 x x z xinstance HasField "xxzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x x z yinstance HasField "xxzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 x x z zinstance HasField "xxzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x x z winstance HasField "xxwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 x x w xinstance HasField "xxwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x x w yinstance HasField "xxwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x x w zinstance HasField "xxww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 x x w winstance HasField "xyxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 x y x xinstance HasField "xyxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 x y x yinstance HasField "xyxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x y x zinstance HasField "xyxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x y x winstance HasField "xyyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 x y y xinstance HasField "xyyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 x y y yinstance HasField "xyyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x y y zinstance HasField "xyyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x y y winstance HasField "xyzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x y z xinstance HasField "xyzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x y z yinstance HasField "xyzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x y z zinstance HasField "xyzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = vinstance HasField "xywx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x y w xinstance HasField "xywy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x y w yinstance HasField "xywz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 x y w zinstance HasField "xyww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x y w winstance HasField "xzxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 x z x xinstance HasField "xzxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x z x yinstance HasField "xzxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 x z x zinstance HasField "xzxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x z x winstance HasField "xzyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x z y xinstance HasField "xzyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x z y yinstance HasField "xzyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x z y zinstance HasField "xzyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 x z y winstance HasField "xzzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 x z z xinstance HasField "xzzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 x z z yinstance HasField "xzzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 x z z zinstance HasField "xzzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x z z winstance HasField "xzwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x z w xinstance HasField "xzwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 x z w yinstance HasField "xzwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x z w zinstance HasField "xzww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x z w winstance HasField "xwxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 x w x xinstance HasField "xwxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x w x yinstance HasField "xwxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x w x zinstance HasField "xwxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 x w x winstance HasField "xwyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x w y xinstance HasField "xwyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x w y yinstance HasField "xwyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 x w y zinstance HasField "xwyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x w y winstance HasField "xwzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x w z xinstance HasField "xwzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 x w z yinstance HasField "xwzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x w z zinstance HasField "xwzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x w z winstance HasField "xwwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 x w w xinstance HasField "xwwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 x w w yinstance HasField "xwwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 x w w zinstance HasField "xwww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 x w w winstance HasField "yxxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 y x x xinstance HasField "yxxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 y x x yinstance HasField "yxxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y x x zinstance HasField "yxxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y x x winstance HasField "yxyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 y x y xinstance HasField "yxyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 y x y yinstance HasField "yxyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y x y zinstance HasField "yxyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y x y winstance HasField "yxzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y x z xinstance HasField "yxzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y x z yinstance HasField "yxzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y x z zinstance HasField "yxzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 y x z winstance HasField "yxwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y x w xinstance HasField "yxwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y x w yinstance HasField "yxwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 y x w zinstance HasField "yxww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y x w winstance HasField "yyxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 y y x xinstance HasField "yyxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 y y x yinstance HasField "yyxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y y x zinstance HasField "yyxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y y x winstance HasField "yyyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ _ -> ivec4 y y y xinstance HasField "yyyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ _ -> ivec4 y y y yinstance HasField "yyyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 y y y zinstance HasField "yyyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 y y y winstance HasField "yyzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y y z xinstance HasField "yyzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 y y z yinstance HasField "yyzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 y y z zinstance HasField "yyzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y y z winstance HasField "yywx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y y w xinstance HasField "yywy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 y y w yinstance HasField "yywz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y y w zinstance HasField "yyww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 y y w winstance HasField "yzxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y z x xinstance HasField "yzxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y z x yinstance HasField "yzxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y z x zinstance HasField "yzxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 y z x winstance HasField "yzyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y z y xinstance HasField "yzyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 y z y yinstance HasField "yzyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 y z y zinstance HasField "yzyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y z y winstance HasField "yzzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 y z z xinstance HasField "yzzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 y z z yinstance HasField "yzzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 y z z zinstance HasField "yzzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y z z winstance HasField "yzwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 y z w xinstance HasField "yzwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y z w yinstance HasField "yzwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y z w zinstance HasField "yzww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y z w winstance HasField "ywxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y w x xinstance HasField "ywxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y w x yinstance HasField "ywxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 y w x zinstance HasField "ywxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y w x winstance HasField "ywyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y w y xinstance HasField "ywyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 y w y yinstance HasField "ywyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y w y zinstance HasField "ywyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 y w y winstance HasField "ywzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 y w z xinstance HasField "ywzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y w z yinstance HasField "ywzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y w z zinstance HasField "ywzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y w z winstance HasField "ywwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 y w w xinstance HasField "ywwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 y w w yinstance HasField "ywwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 y w w zinstance HasField "ywww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 y w w winstance HasField "zxxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 z x x xinstance HasField "zxxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z x x yinstance HasField "zxxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 z x x zinstance HasField "zxxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z x x winstance HasField "zxyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z x y xinstance HasField "zxyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z x y yinstance HasField "zxyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z x y zinstance HasField "zxyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 z x y winstance HasField "zxzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 z x z xinstance HasField "zxzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z x z yinstance HasField "zxzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 z x z zinstance HasField "zxzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z x z winstance HasField "zxwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z x w xinstance HasField "zxwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 z x w yinstance HasField "zxwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z x w zinstance HasField "zxww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z x w winstance HasField "zyxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z y x xinstance HasField "zyxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z y x yinstance HasField "zyxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z y x zinstance HasField "zyxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 z y x winstance HasField "zyyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z y y xinstance HasField "zyyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 z y y yinstance HasField "zyyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 z y y zinstance HasField "zyyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z y y winstance HasField "zyzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z y z xinstance HasField "zyzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 z y z yinstance HasField "zyzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 z y z zinstance HasField "zyzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z y z winstance HasField "zywx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 z y w xinstance HasField "zywy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z y w yinstance HasField "zywz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z y w zinstance HasField "zyww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z y w winstance HasField "zzxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 z z x xinstance HasField "zzxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z z x yinstance HasField "zzxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 z z x zinstance HasField "zzxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z z x winstance HasField "zzyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z _ -> ivec4 z z y xinstance HasField "zzyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 z z y yinstance HasField "zzyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 z z y zinstance HasField "zzyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z z y winstance HasField "zzzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z _ -> ivec4 z z z xinstance HasField "zzzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z _ -> ivec4 z z z yinstance HasField "zzzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z _ -> ivec4 z z z zinstance HasField "zzzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 z z z winstance HasField "zzwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z z w xinstance HasField "zzwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z z w yinstance HasField "zzwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 z z w zinstance HasField "zzww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 z z w winstance HasField "zwxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z w x xinstance HasField "zwxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 z w x yinstance HasField "zwxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z w x zinstance HasField "zwxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z w x winstance HasField "zwyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 z w y xinstance HasField "zwyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z w y yinstance HasField "zwyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z w y zinstance HasField "zwyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z w y winstance HasField "zwzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z w z xinstance HasField "zwzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z w z yinstance HasField "zwzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 z w z zinstance HasField "zwzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 z w z winstance HasField "zwwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 z w w xinstance HasField "zwwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 z w w yinstance HasField "zwwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 z w w zinstance HasField "zwww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 z w w winstance HasField "wxxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 w x x xinstance HasField "wxxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w x x yinstance HasField "wxxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w x x zinstance HasField "wxxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 w x x winstance HasField "wxyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w x y xinstance HasField "wxyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w x y yinstance HasField "wxyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 w x y zinstance HasField "wxyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w x y winstance HasField "wxzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w x z xinstance HasField "wxzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 w x z yinstance HasField "wxzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w x z zinstance HasField "wxzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w x z winstance HasField "wxwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 w x w xinstance HasField "wxwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w x w yinstance HasField "wxwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w x w zinstance HasField "wxww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 w x w winstance HasField "wyxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w y x xinstance HasField "wyxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w y x yinstance HasField "wyxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 w y x zinstance HasField "wyxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w y x winstance HasField "wyyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w y y xinstance HasField "wyyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 w y y yinstance HasField "wyyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w y y zinstance HasField "wyyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 w y y winstance HasField "wyzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 w y z xinstance HasField "wyzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w y z yinstance HasField "wyzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w y z zinstance HasField "wyzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w y z winstance HasField "wywx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w y w xinstance HasField "wywy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 w y w yinstance HasField "wywz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w y w zinstance HasField "wyww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 w y w winstance HasField "wzxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w z x xinstance HasField "wzxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 w z x yinstance HasField "wzxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w z x zinstance HasField "wzxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w z x winstance HasField "wzyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y z w -> ivec4 w z y xinstance HasField "wzyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w z y yinstance HasField "wzyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w z y zinstance HasField "wzyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w z y winstance HasField "wzzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w z z xinstance HasField "wzzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w z z yinstance HasField "wzzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 w z z zinstance HasField "wzzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 w z z winstance HasField "wzwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w z w xinstance HasField "wzwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w z w yinstance HasField "wzwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 w z w zinstance HasField "wzww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 w z w winstance HasField "wwxx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 w w x xinstance HasField "wwxy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w w x yinstance HasField "wwxz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w w x zinstance HasField "wwxw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 w w x winstance HasField "wwyx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x y _ w -> ivec4 w w y xinstance HasField "wwyy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 w w y yinstance HasField "wwyz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w w y zinstance HasField "wwyw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 w w y winstance HasField "wwzx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ z w -> ivec4 w w z xinstance HasField "wwzy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y z w -> ivec4 w w z yinstance HasField "wwzz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 w w z zinstance HasField "wwzw" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 w w z winstance HasField "wwwx" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \x _ _ w -> ivec4 w w w xinstance HasField "wwwy" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ y _ w -> ivec4 w w w yinstance HasField "wwwz" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ z w -> ivec4 w w w zinstance HasField "wwww" IVec4 IVec4 where  {-# INLINE getField #-}  getField v = withIVec4 v \_ _ _ w -> ivec4 w w w w