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