packages feed

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

{-# LANGUAGE BlockArguments #-}{-# LANGUAGE DataKinds #-}{-# LANGUAGE FlexibleInstances #-}{-# LANGUAGE MultiParamTypeClasses #-}{-# OPTIONS_GHC -Wno-orphans #-}module Geomancy.Swizzle.I64Vec.Down () whereimport GHC.Records (HasField(..))import Geomancy.I64Vec2 (I64Vec2, i64vec2)import Geomancy.I64Vec3 (I64Vec3, i64vec3, withI64Vec3)import Geomancy.I64Vec4 (I64Vec4, withI64Vec4)instance HasField "xx" I64Vec3 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec3 v \x _ _ -> i64vec2 x xinstance HasField "xy" I64Vec3 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec3 v \x y _ -> i64vec2 x yinstance HasField "xz" I64Vec3 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec3 v \x _ z -> i64vec2 x zinstance HasField "yx" I64Vec3 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec3 v \x y _ -> i64vec2 y xinstance HasField "yy" I64Vec3 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec3 v \_ y _ -> i64vec2 y yinstance HasField "yz" I64Vec3 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec3 v \_ y z -> i64vec2 y zinstance HasField "zx" I64Vec3 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec3 v \x _ z -> i64vec2 z xinstance HasField "zy" I64Vec3 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec3 v \_ y z -> i64vec2 z yinstance HasField "zz" I64Vec3 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec3 v \_ _ z -> i64vec2 z zinstance HasField "xx" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ _ -> i64vec2 x xinstance HasField "xy" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ _ -> i64vec2 x yinstance HasField "xz" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z _ -> i64vec2 x zinstance HasField "xw" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ w -> i64vec2 x winstance HasField "yx" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ _ -> i64vec2 y xinstance HasField "yy" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ _ -> i64vec2 y yinstance HasField "yz" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z _ -> i64vec2 y zinstance HasField "yw" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ w -> i64vec2 y winstance HasField "zx" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z _ -> i64vec2 z xinstance HasField "zy" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z _ -> i64vec2 z yinstance HasField "zz" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z _ -> i64vec2 z zinstance HasField "zw" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z w -> i64vec2 z winstance HasField "wx" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ w -> i64vec2 w xinstance HasField "wy" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ w -> i64vec2 w yinstance HasField "wz" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z w -> i64vec2 w zinstance HasField "ww" I64Vec4 I64Vec2 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ _ w -> i64vec2 w winstance HasField "xxx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ _ -> i64vec3 x x xinstance HasField "xxy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ _ -> i64vec3 x x yinstance HasField "xxz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z _ -> i64vec3 x x zinstance HasField "xxw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ w -> i64vec3 x x winstance HasField "xyx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ _ -> i64vec3 x y xinstance HasField "xyy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ _ -> i64vec3 x y yinstance HasField "xyz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y z _ -> i64vec3 x y zinstance HasField "xyw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ w -> i64vec3 x y winstance HasField "xzx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z _ -> i64vec3 x z xinstance HasField "xzy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y z _ -> i64vec3 x z yinstance HasField "xzz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z _ -> i64vec3 x z zinstance HasField "xzw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z w -> i64vec3 x z winstance HasField "xwx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ w -> i64vec3 x w xinstance HasField "xwy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ w -> i64vec3 x w yinstance HasField "xwz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z w -> i64vec3 x w zinstance HasField "xww" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ w -> i64vec3 x w winstance HasField "yxx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ _ -> i64vec3 y x xinstance HasField "yxy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ _ -> i64vec3 y x yinstance HasField "yxz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y z _ -> i64vec3 y x zinstance HasField "yxw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ w -> i64vec3 y x winstance HasField "yyx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ _ -> i64vec3 y y xinstance HasField "yyy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ _ -> i64vec3 y y yinstance HasField "yyz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z _ -> i64vec3 y y zinstance HasField "yyw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ w -> i64vec3 y y winstance HasField "yzx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y z _ -> i64vec3 y z xinstance HasField "yzy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z _ -> i64vec3 y z yinstance HasField "yzz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z _ -> i64vec3 y z zinstance HasField "yzw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z w -> i64vec3 y z winstance HasField "ywx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ w -> i64vec3 y w xinstance HasField "ywy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ w -> i64vec3 y w yinstance HasField "ywz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z w -> i64vec3 y w zinstance HasField "yww" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ w -> i64vec3 y w winstance HasField "zxx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z _ -> i64vec3 z x xinstance HasField "zxy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y z _ -> i64vec3 z x yinstance HasField "zxz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z _ -> i64vec3 z x zinstance HasField "zxw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z w -> i64vec3 z x winstance HasField "zyx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y z _ -> i64vec3 z y xinstance HasField "zyy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z _ -> i64vec3 z y yinstance HasField "zyz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z _ -> i64vec3 z y zinstance HasField "zyw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z w -> i64vec3 z y winstance HasField "zzx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z _ -> i64vec3 z z xinstance HasField "zzy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z _ -> i64vec3 z z yinstance HasField "zzz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z _ -> i64vec3 z z zinstance HasField "zzw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z w -> i64vec3 z z winstance HasField "zwx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z w -> i64vec3 z w xinstance HasField "zwy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z w -> i64vec3 z w yinstance HasField "zwz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z w -> i64vec3 z w zinstance HasField "zww" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z w -> i64vec3 z w winstance HasField "wxx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ w -> i64vec3 w x xinstance HasField "wxy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ w -> i64vec3 w x yinstance HasField "wxz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z w -> i64vec3 w x zinstance HasField "wxw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ w -> i64vec3 w x winstance HasField "wyx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x y _ w -> i64vec3 w y xinstance HasField "wyy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ w -> i64vec3 w y yinstance HasField "wyz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z w -> i64vec3 w y zinstance HasField "wyw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ w -> i64vec3 w y winstance HasField "wzx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ z w -> i64vec3 w z xinstance HasField "wzy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y z w -> i64vec3 w z yinstance HasField "wzz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z w -> i64vec3 w z zinstance HasField "wzw" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z w -> i64vec3 w z winstance HasField "wwx" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \x _ _ w -> i64vec3 w w xinstance HasField "wwy" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ y _ w -> i64vec3 w w yinstance HasField "wwz" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ z w -> i64vec3 w w zinstance HasField "www" I64Vec4 I64Vec3 where  {-# INLINE getField #-}  getField v = withI64Vec4 v \_ _ _ w -> i64vec3 w w w