{-# LANGUAGE BlockArguments #-}{-# LANGUAGE DataKinds #-}{-# LANGUAGE FlexibleInstances #-}{-# LANGUAGE MultiParamTypeClasses #-}{-# OPTIONS_GHC -Wno-orphans #-}module Geomancy.Swizzle.UVec.Up () whereimport GHC.Records (HasField(..))import Geomancy.UVec2 (UVec2, withUVec2)import Geomancy.UVec3 (UVec3, uvec3, withUVec3)import Geomancy.UVec4 (UVec4, uvec4)instance HasField "xxx" UVec2 UVec3 where {-# INLINE getField #-} getField v = withUVec2 v \x _ -> uvec3 x x xinstance HasField "xxy" UVec2 UVec3 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec3 x x yinstance HasField "xyx" UVec2 UVec3 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec3 x y xinstance HasField "xyy" UVec2 UVec3 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec3 x y yinstance HasField "yxx" UVec2 UVec3 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec3 y x xinstance HasField "yxy" UVec2 UVec3 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec3 y x yinstance HasField "yyx" UVec2 UVec3 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec3 y y xinstance HasField "yyy" UVec2 UVec3 where {-# INLINE getField #-} getField v = withUVec2 v \_ y -> uvec3 y y yinstance HasField "xxxx" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x _ -> uvec4 x x x xinstance HasField "xxxy" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 x x x yinstance HasField "xxyx" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 x x y xinstance HasField "xxyy" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 x x y yinstance HasField "xyxx" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 x y x xinstance HasField "xyxy" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 x y x yinstance HasField "xyyx" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 x y y xinstance HasField "xyyy" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 x y y yinstance HasField "yxxx" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 y x x xinstance HasField "yxxy" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 y x x yinstance HasField "yxyx" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 y x y xinstance HasField "yxyy" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 y x y yinstance HasField "yyxx" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 y y x xinstance HasField "yyxy" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 y y x yinstance HasField "yyyx" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \x y -> uvec4 y y y xinstance HasField "yyyy" UVec2 UVec4 where {-# INLINE getField #-} getField v = withUVec2 v \_ y -> uvec4 y y y yinstance HasField "xxxx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ _ -> uvec4 x x x xinstance HasField "xxxy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 x x x yinstance HasField "xxxz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 x x x zinstance HasField "xxyx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 x x y xinstance HasField "xxyy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 x x y yinstance HasField "xxyz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x x y zinstance HasField "xxzx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 x x z xinstance HasField "xxzy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x x z yinstance HasField "xxzz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 x x z zinstance HasField "xyxx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 x y x xinstance HasField "xyxy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 x y x yinstance HasField "xyxz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x y x zinstance HasField "xyyx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 x y y xinstance HasField "xyyy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 x y y yinstance HasField "xyyz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x y y zinstance HasField "xyzx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x y z xinstance HasField "xyzy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x y z yinstance HasField "xyzz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x y z zinstance HasField "xzxx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 x z x xinstance HasField "xzxy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x z x yinstance HasField "xzxz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 x z x zinstance HasField "xzyx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x z y xinstance HasField "xzyy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x z y yinstance HasField "xzyz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x z y zinstance HasField "xzzx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 x z z xinstance HasField "xzzy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 x z z yinstance HasField "xzzz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 x z z zinstance HasField "yxxx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 y x x xinstance HasField "yxxy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 y x x yinstance HasField "yxxz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y x x zinstance HasField "yxyx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 y x y xinstance HasField "yxyy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 y x y yinstance HasField "yxyz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y x y zinstance HasField "yxzx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y x z xinstance HasField "yxzy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y x z yinstance HasField "yxzz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y x z zinstance HasField "yyxx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 y y x xinstance HasField "yyxy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 y y x yinstance HasField "yyxz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y y x zinstance HasField "yyyx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y _ -> uvec4 y y y xinstance HasField "yyyy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y _ -> uvec4 y y y yinstance HasField "yyyz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 y y y zinstance HasField "yyzx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y y z xinstance HasField "yyzy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 y y z yinstance HasField "yyzz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 y y z zinstance HasField "yzxx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y z x xinstance HasField "yzxy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y z x yinstance HasField "yzxz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y z x zinstance HasField "yzyx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y z y xinstance HasField "yzyy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 y z y yinstance HasField "yzyz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 y z y zinstance HasField "yzzx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 y z z xinstance HasField "yzzy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 y z z yinstance HasField "yzzz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 y z z zinstance HasField "zxxx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 z x x xinstance HasField "zxxy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z x x yinstance HasField "zxxz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 z x x zinstance HasField "zxyx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z x y xinstance HasField "zxyy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z x y yinstance HasField "zxyz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z x y zinstance HasField "zxzx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 z x z xinstance HasField "zxzy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z x z yinstance HasField "zxzz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 z x z zinstance HasField "zyxx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z y x xinstance HasField "zyxy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z y x yinstance HasField "zyxz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z y x zinstance HasField "zyyx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z y y xinstance HasField "zyyy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 z y y yinstance HasField "zyyz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 z y y zinstance HasField "zyzx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z y z xinstance HasField "zyzy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 z y z yinstance HasField "zyzz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 z y z zinstance HasField "zzxx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 z z x xinstance HasField "zzxy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z z x yinstance HasField "zzxz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 z z x zinstance HasField "zzyx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x y z -> uvec4 z z y xinstance HasField "zzyy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 z z y yinstance HasField "zzyz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 z z y zinstance HasField "zzzx" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \x _ z -> uvec4 z z z xinstance HasField "zzzy" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ y z -> uvec4 z z z yinstance HasField "zzzz" UVec3 UVec4 where {-# INLINE getField #-} getField v = withUVec3 v \_ _ z -> uvec4 z z z z