packages feed

geomancy-0.4.1.0 / src / Geomancy / Swizzle / I64Vec / Up.hs

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