double4.gen.cs 126 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. using System;
  10. using System.Runtime.CompilerServices;
  11. using System.Diagnostics;
  12. #pragma warning disable 0660, 0661
  13. namespace Unity.Mathematics
  14. {
  15. [DebuggerTypeProxy(typeof(double4.DebuggerProxy))]
  16. [System.Serializable]
  17. public partial struct double4 : System.IEquatable<double4>, IFormattable
  18. {
  19. public double x;
  20. public double y;
  21. public double z;
  22. public double w;
  23. /// <summary>double4 zero value.</summary>
  24. public static readonly double4 zero;
  25. /// <summary>Constructs a double4 vector from four double values.</summary>
  26. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  27. public double4(double x, double y, double z, double w)
  28. {
  29. this.x = x;
  30. this.y = y;
  31. this.z = z;
  32. this.w = w;
  33. }
  34. /// <summary>Constructs a double4 vector from two double values and a double2 vector.</summary>
  35. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  36. public double4(double x, double y, double2 zw)
  37. {
  38. this.x = x;
  39. this.y = y;
  40. this.z = zw.x;
  41. this.w = zw.y;
  42. }
  43. /// <summary>Constructs a double4 vector from a double value, a double2 vector and a double value.</summary>
  44. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  45. public double4(double x, double2 yz, double w)
  46. {
  47. this.x = x;
  48. this.y = yz.x;
  49. this.z = yz.y;
  50. this.w = w;
  51. }
  52. /// <summary>Constructs a double4 vector from a double value and a double3 vector.</summary>
  53. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  54. public double4(double x, double3 yzw)
  55. {
  56. this.x = x;
  57. this.y = yzw.x;
  58. this.z = yzw.y;
  59. this.w = yzw.z;
  60. }
  61. /// <summary>Constructs a double4 vector from a double2 vector and two double values.</summary>
  62. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  63. public double4(double2 xy, double z, double w)
  64. {
  65. this.x = xy.x;
  66. this.y = xy.y;
  67. this.z = z;
  68. this.w = w;
  69. }
  70. /// <summary>Constructs a double4 vector from two double2 vectors.</summary>
  71. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  72. public double4(double2 xy, double2 zw)
  73. {
  74. this.x = xy.x;
  75. this.y = xy.y;
  76. this.z = zw.x;
  77. this.w = zw.y;
  78. }
  79. /// <summary>Constructs a double4 vector from a double3 vector and a double value.</summary>
  80. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  81. public double4(double3 xyz, double w)
  82. {
  83. this.x = xyz.x;
  84. this.y = xyz.y;
  85. this.z = xyz.z;
  86. this.w = w;
  87. }
  88. /// <summary>Constructs a double4 vector from a double4 vector.</summary>
  89. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  90. public double4(double4 xyzw)
  91. {
  92. this.x = xyzw.x;
  93. this.y = xyzw.y;
  94. this.z = xyzw.z;
  95. this.w = xyzw.w;
  96. }
  97. /// <summary>Constructs a double4 vector from a single double value by assigning it to every component.</summary>
  98. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  99. public double4(double v)
  100. {
  101. this.x = v;
  102. this.y = v;
  103. this.z = v;
  104. this.w = v;
  105. }
  106. /// <summary>Constructs a double4 vector from a single bool value by converting it to double and assigning it to every component.</summary>
  107. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  108. public double4(bool v)
  109. {
  110. this.x = v ? 1.0 : 0.0;
  111. this.y = v ? 1.0 : 0.0;
  112. this.z = v ? 1.0 : 0.0;
  113. this.w = v ? 1.0 : 0.0;
  114. }
  115. /// <summary>Constructs a double4 vector from a bool4 vector by componentwise conversion.</summary>
  116. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  117. public double4(bool4 v)
  118. {
  119. this.x = v.x ? 1.0 : 0.0;
  120. this.y = v.y ? 1.0 : 0.0;
  121. this.z = v.z ? 1.0 : 0.0;
  122. this.w = v.w ? 1.0 : 0.0;
  123. }
  124. /// <summary>Constructs a double4 vector from a single int value by converting it to double and assigning it to every component.</summary>
  125. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  126. public double4(int v)
  127. {
  128. this.x = v;
  129. this.y = v;
  130. this.z = v;
  131. this.w = v;
  132. }
  133. /// <summary>Constructs a double4 vector from a int4 vector by componentwise conversion.</summary>
  134. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  135. public double4(int4 v)
  136. {
  137. this.x = v.x;
  138. this.y = v.y;
  139. this.z = v.z;
  140. this.w = v.w;
  141. }
  142. /// <summary>Constructs a double4 vector from a single uint value by converting it to double and assigning it to every component.</summary>
  143. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  144. public double4(uint v)
  145. {
  146. this.x = v;
  147. this.y = v;
  148. this.z = v;
  149. this.w = v;
  150. }
  151. /// <summary>Constructs a double4 vector from a uint4 vector by componentwise conversion.</summary>
  152. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  153. public double4(uint4 v)
  154. {
  155. this.x = v.x;
  156. this.y = v.y;
  157. this.z = v.z;
  158. this.w = v.w;
  159. }
  160. /// <summary>Constructs a double4 vector from a single half value by converting it to double and assigning it to every component.</summary>
  161. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  162. public double4(half v)
  163. {
  164. this.x = v;
  165. this.y = v;
  166. this.z = v;
  167. this.w = v;
  168. }
  169. /// <summary>Constructs a double4 vector from a half4 vector by componentwise conversion.</summary>
  170. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  171. public double4(half4 v)
  172. {
  173. this.x = v.x;
  174. this.y = v.y;
  175. this.z = v.z;
  176. this.w = v.w;
  177. }
  178. /// <summary>Constructs a double4 vector from a single float value by converting it to double and assigning it to every component.</summary>
  179. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  180. public double4(float v)
  181. {
  182. this.x = v;
  183. this.y = v;
  184. this.z = v;
  185. this.w = v;
  186. }
  187. /// <summary>Constructs a double4 vector from a float4 vector by componentwise conversion.</summary>
  188. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  189. public double4(float4 v)
  190. {
  191. this.x = v.x;
  192. this.y = v.y;
  193. this.z = v.z;
  194. this.w = v.w;
  195. }
  196. /// <summary>Implicitly converts a single double value to a double4 vector by assigning it to every component.</summary>
  197. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  198. public static implicit operator double4(double v) { return new double4(v); }
  199. /// <summary>Explicitly converts a single bool value to a double4 vector by converting it to double and assigning it to every component.</summary>
  200. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  201. public static explicit operator double4(bool v) { return new double4(v); }
  202. /// <summary>Explicitly converts a bool4 vector to a double4 vector by componentwise conversion.</summary>
  203. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  204. public static explicit operator double4(bool4 v) { return new double4(v); }
  205. /// <summary>Implicitly converts a single int value to a double4 vector by converting it to double and assigning it to every component.</summary>
  206. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  207. public static implicit operator double4(int v) { return new double4(v); }
  208. /// <summary>Implicitly converts a int4 vector to a double4 vector by componentwise conversion.</summary>
  209. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  210. public static implicit operator double4(int4 v) { return new double4(v); }
  211. /// <summary>Implicitly converts a single uint value to a double4 vector by converting it to double and assigning it to every component.</summary>
  212. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  213. public static implicit operator double4(uint v) { return new double4(v); }
  214. /// <summary>Implicitly converts a uint4 vector to a double4 vector by componentwise conversion.</summary>
  215. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  216. public static implicit operator double4(uint4 v) { return new double4(v); }
  217. /// <summary>Implicitly converts a single half value to a double4 vector by converting it to double and assigning it to every component.</summary>
  218. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  219. public static implicit operator double4(half v) { return new double4(v); }
  220. /// <summary>Implicitly converts a half4 vector to a double4 vector by componentwise conversion.</summary>
  221. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  222. public static implicit operator double4(half4 v) { return new double4(v); }
  223. /// <summary>Implicitly converts a single float value to a double4 vector by converting it to double and assigning it to every component.</summary>
  224. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  225. public static implicit operator double4(float v) { return new double4(v); }
  226. /// <summary>Implicitly converts a float4 vector to a double4 vector by componentwise conversion.</summary>
  227. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  228. public static implicit operator double4(float4 v) { return new double4(v); }
  229. /// <summary>Returns the result of a componentwise multiplication operation on two double4 vectors.</summary>
  230. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  231. public static double4 operator * (double4 lhs, double4 rhs) { return new double4 (lhs.x * rhs.x, lhs.y * rhs.y, lhs.z * rhs.z, lhs.w * rhs.w); }
  232. /// <summary>Returns the result of a componentwise multiplication operation on a double4 vector and a double value.</summary>
  233. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  234. public static double4 operator * (double4 lhs, double rhs) { return new double4 (lhs.x * rhs, lhs.y * rhs, lhs.z * rhs, lhs.w * rhs); }
  235. /// <summary>Returns the result of a componentwise multiplication operation on a double value and a double4 vector.</summary>
  236. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  237. public static double4 operator * (double lhs, double4 rhs) { return new double4 (lhs * rhs.x, lhs * rhs.y, lhs * rhs.z, lhs * rhs.w); }
  238. /// <summary>Returns the result of a componentwise addition operation on two double4 vectors.</summary>
  239. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  240. public static double4 operator + (double4 lhs, double4 rhs) { return new double4 (lhs.x + rhs.x, lhs.y + rhs.y, lhs.z + rhs.z, lhs.w + rhs.w); }
  241. /// <summary>Returns the result of a componentwise addition operation on a double4 vector and a double value.</summary>
  242. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  243. public static double4 operator + (double4 lhs, double rhs) { return new double4 (lhs.x + rhs, lhs.y + rhs, lhs.z + rhs, lhs.w + rhs); }
  244. /// <summary>Returns the result of a componentwise addition operation on a double value and a double4 vector.</summary>
  245. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  246. public static double4 operator + (double lhs, double4 rhs) { return new double4 (lhs + rhs.x, lhs + rhs.y, lhs + rhs.z, lhs + rhs.w); }
  247. /// <summary>Returns the result of a componentwise subtraction operation on two double4 vectors.</summary>
  248. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  249. public static double4 operator - (double4 lhs, double4 rhs) { return new double4 (lhs.x - rhs.x, lhs.y - rhs.y, lhs.z - rhs.z, lhs.w - rhs.w); }
  250. /// <summary>Returns the result of a componentwise subtraction operation on a double4 vector and a double value.</summary>
  251. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  252. public static double4 operator - (double4 lhs, double rhs) { return new double4 (lhs.x - rhs, lhs.y - rhs, lhs.z - rhs, lhs.w - rhs); }
  253. /// <summary>Returns the result of a componentwise subtraction operation on a double value and a double4 vector.</summary>
  254. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  255. public static double4 operator - (double lhs, double4 rhs) { return new double4 (lhs - rhs.x, lhs - rhs.y, lhs - rhs.z, lhs - rhs.w); }
  256. /// <summary>Returns the result of a componentwise division operation on two double4 vectors.</summary>
  257. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  258. public static double4 operator / (double4 lhs, double4 rhs) { return new double4 (lhs.x / rhs.x, lhs.y / rhs.y, lhs.z / rhs.z, lhs.w / rhs.w); }
  259. /// <summary>Returns the result of a componentwise division operation on a double4 vector and a double value.</summary>
  260. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  261. public static double4 operator / (double4 lhs, double rhs) { return new double4 (lhs.x / rhs, lhs.y / rhs, lhs.z / rhs, lhs.w / rhs); }
  262. /// <summary>Returns the result of a componentwise division operation on a double value and a double4 vector.</summary>
  263. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  264. public static double4 operator / (double lhs, double4 rhs) { return new double4 (lhs / rhs.x, lhs / rhs.y, lhs / rhs.z, lhs / rhs.w); }
  265. /// <summary>Returns the result of a componentwise modulus operation on two double4 vectors.</summary>
  266. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  267. public static double4 operator % (double4 lhs, double4 rhs) { return new double4 (lhs.x % rhs.x, lhs.y % rhs.y, lhs.z % rhs.z, lhs.w % rhs.w); }
  268. /// <summary>Returns the result of a componentwise modulus operation on a double4 vector and a double value.</summary>
  269. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  270. public static double4 operator % (double4 lhs, double rhs) { return new double4 (lhs.x % rhs, lhs.y % rhs, lhs.z % rhs, lhs.w % rhs); }
  271. /// <summary>Returns the result of a componentwise modulus operation on a double value and a double4 vector.</summary>
  272. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  273. public static double4 operator % (double lhs, double4 rhs) { return new double4 (lhs % rhs.x, lhs % rhs.y, lhs % rhs.z, lhs % rhs.w); }
  274. /// <summary>Returns the result of a componentwise increment operation on a double4 vector.</summary>
  275. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  276. public static double4 operator ++ (double4 val) { return new double4 (++val.x, ++val.y, ++val.z, ++val.w); }
  277. /// <summary>Returns the result of a componentwise decrement operation on a double4 vector.</summary>
  278. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  279. public static double4 operator -- (double4 val) { return new double4 (--val.x, --val.y, --val.z, --val.w); }
  280. /// <summary>Returns the result of a componentwise less than operation on two double4 vectors.</summary>
  281. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  282. public static bool4 operator < (double4 lhs, double4 rhs) { return new bool4 (lhs.x < rhs.x, lhs.y < rhs.y, lhs.z < rhs.z, lhs.w < rhs.w); }
  283. /// <summary>Returns the result of a componentwise less than operation on a double4 vector and a double value.</summary>
  284. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  285. public static bool4 operator < (double4 lhs, double rhs) { return new bool4 (lhs.x < rhs, lhs.y < rhs, lhs.z < rhs, lhs.w < rhs); }
  286. /// <summary>Returns the result of a componentwise less than operation on a double value and a double4 vector.</summary>
  287. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  288. public static bool4 operator < (double lhs, double4 rhs) { return new bool4 (lhs < rhs.x, lhs < rhs.y, lhs < rhs.z, lhs < rhs.w); }
  289. /// <summary>Returns the result of a componentwise less or equal operation on two double4 vectors.</summary>
  290. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  291. public static bool4 operator <= (double4 lhs, double4 rhs) { return new bool4 (lhs.x <= rhs.x, lhs.y <= rhs.y, lhs.z <= rhs.z, lhs.w <= rhs.w); }
  292. /// <summary>Returns the result of a componentwise less or equal operation on a double4 vector and a double value.</summary>
  293. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  294. public static bool4 operator <= (double4 lhs, double rhs) { return new bool4 (lhs.x <= rhs, lhs.y <= rhs, lhs.z <= rhs, lhs.w <= rhs); }
  295. /// <summary>Returns the result of a componentwise less or equal operation on a double value and a double4 vector.</summary>
  296. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  297. public static bool4 operator <= (double lhs, double4 rhs) { return new bool4 (lhs <= rhs.x, lhs <= rhs.y, lhs <= rhs.z, lhs <= rhs.w); }
  298. /// <summary>Returns the result of a componentwise greater than operation on two double4 vectors.</summary>
  299. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  300. public static bool4 operator > (double4 lhs, double4 rhs) { return new bool4 (lhs.x > rhs.x, lhs.y > rhs.y, lhs.z > rhs.z, lhs.w > rhs.w); }
  301. /// <summary>Returns the result of a componentwise greater than operation on a double4 vector and a double value.</summary>
  302. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  303. public static bool4 operator > (double4 lhs, double rhs) { return new bool4 (lhs.x > rhs, lhs.y > rhs, lhs.z > rhs, lhs.w > rhs); }
  304. /// <summary>Returns the result of a componentwise greater than operation on a double value and a double4 vector.</summary>
  305. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  306. public static bool4 operator > (double lhs, double4 rhs) { return new bool4 (lhs > rhs.x, lhs > rhs.y, lhs > rhs.z, lhs > rhs.w); }
  307. /// <summary>Returns the result of a componentwise greater or equal operation on two double4 vectors.</summary>
  308. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  309. public static bool4 operator >= (double4 lhs, double4 rhs) { return new bool4 (lhs.x >= rhs.x, lhs.y >= rhs.y, lhs.z >= rhs.z, lhs.w >= rhs.w); }
  310. /// <summary>Returns the result of a componentwise greater or equal operation on a double4 vector and a double value.</summary>
  311. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  312. public static bool4 operator >= (double4 lhs, double rhs) { return new bool4 (lhs.x >= rhs, lhs.y >= rhs, lhs.z >= rhs, lhs.w >= rhs); }
  313. /// <summary>Returns the result of a componentwise greater or equal operation on a double value and a double4 vector.</summary>
  314. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  315. public static bool4 operator >= (double lhs, double4 rhs) { return new bool4 (lhs >= rhs.x, lhs >= rhs.y, lhs >= rhs.z, lhs >= rhs.w); }
  316. /// <summary>Returns the result of a componentwise unary minus operation on a double4 vector.</summary>
  317. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  318. public static double4 operator - (double4 val) { return new double4 (-val.x, -val.y, -val.z, -val.w); }
  319. /// <summary>Returns the result of a componentwise unary plus operation on a double4 vector.</summary>
  320. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  321. public static double4 operator + (double4 val) { return new double4 (+val.x, +val.y, +val.z, +val.w); }
  322. /// <summary>Returns the result of a componentwise equality operation on two double4 vectors.</summary>
  323. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  324. public static bool4 operator == (double4 lhs, double4 rhs) { return new bool4 (lhs.x == rhs.x, lhs.y == rhs.y, lhs.z == rhs.z, lhs.w == rhs.w); }
  325. /// <summary>Returns the result of a componentwise equality operation on a double4 vector and a double value.</summary>
  326. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  327. public static bool4 operator == (double4 lhs, double rhs) { return new bool4 (lhs.x == rhs, lhs.y == rhs, lhs.z == rhs, lhs.w == rhs); }
  328. /// <summary>Returns the result of a componentwise equality operation on a double value and a double4 vector.</summary>
  329. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  330. public static bool4 operator == (double lhs, double4 rhs) { return new bool4 (lhs == rhs.x, lhs == rhs.y, lhs == rhs.z, lhs == rhs.w); }
  331. /// <summary>Returns the result of a componentwise not equal operation on two double4 vectors.</summary>
  332. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  333. public static bool4 operator != (double4 lhs, double4 rhs) { return new bool4 (lhs.x != rhs.x, lhs.y != rhs.y, lhs.z != rhs.z, lhs.w != rhs.w); }
  334. /// <summary>Returns the result of a componentwise not equal operation on a double4 vector and a double value.</summary>
  335. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  336. public static bool4 operator != (double4 lhs, double rhs) { return new bool4 (lhs.x != rhs, lhs.y != rhs, lhs.z != rhs, lhs.w != rhs); }
  337. /// <summary>Returns the result of a componentwise not equal operation on a double value and a double4 vector.</summary>
  338. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  339. public static bool4 operator != (double lhs, double4 rhs) { return new bool4 (lhs != rhs.x, lhs != rhs.y, lhs != rhs.z, lhs != rhs.w); }
  340. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  341. public double4 xxxx
  342. {
  343. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  344. get { return new double4(x, x, x, x); }
  345. }
  346. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  347. public double4 xxxy
  348. {
  349. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  350. get { return new double4(x, x, x, y); }
  351. }
  352. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  353. public double4 xxxz
  354. {
  355. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  356. get { return new double4(x, x, x, z); }
  357. }
  358. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  359. public double4 xxxw
  360. {
  361. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  362. get { return new double4(x, x, x, w); }
  363. }
  364. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  365. public double4 xxyx
  366. {
  367. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  368. get { return new double4(x, x, y, x); }
  369. }
  370. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  371. public double4 xxyy
  372. {
  373. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  374. get { return new double4(x, x, y, y); }
  375. }
  376. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  377. public double4 xxyz
  378. {
  379. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  380. get { return new double4(x, x, y, z); }
  381. }
  382. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  383. public double4 xxyw
  384. {
  385. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  386. get { return new double4(x, x, y, w); }
  387. }
  388. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  389. public double4 xxzx
  390. {
  391. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  392. get { return new double4(x, x, z, x); }
  393. }
  394. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  395. public double4 xxzy
  396. {
  397. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  398. get { return new double4(x, x, z, y); }
  399. }
  400. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  401. public double4 xxzz
  402. {
  403. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  404. get { return new double4(x, x, z, z); }
  405. }
  406. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  407. public double4 xxzw
  408. {
  409. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  410. get { return new double4(x, x, z, w); }
  411. }
  412. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  413. public double4 xxwx
  414. {
  415. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  416. get { return new double4(x, x, w, x); }
  417. }
  418. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  419. public double4 xxwy
  420. {
  421. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  422. get { return new double4(x, x, w, y); }
  423. }
  424. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  425. public double4 xxwz
  426. {
  427. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  428. get { return new double4(x, x, w, z); }
  429. }
  430. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  431. public double4 xxww
  432. {
  433. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  434. get { return new double4(x, x, w, w); }
  435. }
  436. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  437. public double4 xyxx
  438. {
  439. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  440. get { return new double4(x, y, x, x); }
  441. }
  442. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  443. public double4 xyxy
  444. {
  445. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  446. get { return new double4(x, y, x, y); }
  447. }
  448. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  449. public double4 xyxz
  450. {
  451. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  452. get { return new double4(x, y, x, z); }
  453. }
  454. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  455. public double4 xyxw
  456. {
  457. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  458. get { return new double4(x, y, x, w); }
  459. }
  460. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  461. public double4 xyyx
  462. {
  463. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  464. get { return new double4(x, y, y, x); }
  465. }
  466. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  467. public double4 xyyy
  468. {
  469. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  470. get { return new double4(x, y, y, y); }
  471. }
  472. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  473. public double4 xyyz
  474. {
  475. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  476. get { return new double4(x, y, y, z); }
  477. }
  478. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  479. public double4 xyyw
  480. {
  481. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  482. get { return new double4(x, y, y, w); }
  483. }
  484. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  485. public double4 xyzx
  486. {
  487. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  488. get { return new double4(x, y, z, x); }
  489. }
  490. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  491. public double4 xyzy
  492. {
  493. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  494. get { return new double4(x, y, z, y); }
  495. }
  496. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  497. public double4 xyzz
  498. {
  499. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  500. get { return new double4(x, y, z, z); }
  501. }
  502. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  503. public double4 xyzw
  504. {
  505. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  506. get { return new double4(x, y, z, w); }
  507. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  508. set { x = value.x; y = value.y; z = value.z; w = value.w; }
  509. }
  510. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  511. public double4 xywx
  512. {
  513. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  514. get { return new double4(x, y, w, x); }
  515. }
  516. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  517. public double4 xywy
  518. {
  519. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  520. get { return new double4(x, y, w, y); }
  521. }
  522. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  523. public double4 xywz
  524. {
  525. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  526. get { return new double4(x, y, w, z); }
  527. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  528. set { x = value.x; y = value.y; w = value.z; z = value.w; }
  529. }
  530. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  531. public double4 xyww
  532. {
  533. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  534. get { return new double4(x, y, w, w); }
  535. }
  536. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  537. public double4 xzxx
  538. {
  539. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  540. get { return new double4(x, z, x, x); }
  541. }
  542. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  543. public double4 xzxy
  544. {
  545. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  546. get { return new double4(x, z, x, y); }
  547. }
  548. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  549. public double4 xzxz
  550. {
  551. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  552. get { return new double4(x, z, x, z); }
  553. }
  554. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  555. public double4 xzxw
  556. {
  557. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  558. get { return new double4(x, z, x, w); }
  559. }
  560. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  561. public double4 xzyx
  562. {
  563. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  564. get { return new double4(x, z, y, x); }
  565. }
  566. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  567. public double4 xzyy
  568. {
  569. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  570. get { return new double4(x, z, y, y); }
  571. }
  572. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  573. public double4 xzyz
  574. {
  575. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  576. get { return new double4(x, z, y, z); }
  577. }
  578. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  579. public double4 xzyw
  580. {
  581. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  582. get { return new double4(x, z, y, w); }
  583. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  584. set { x = value.x; z = value.y; y = value.z; w = value.w; }
  585. }
  586. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  587. public double4 xzzx
  588. {
  589. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  590. get { return new double4(x, z, z, x); }
  591. }
  592. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  593. public double4 xzzy
  594. {
  595. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  596. get { return new double4(x, z, z, y); }
  597. }
  598. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  599. public double4 xzzz
  600. {
  601. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  602. get { return new double4(x, z, z, z); }
  603. }
  604. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  605. public double4 xzzw
  606. {
  607. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  608. get { return new double4(x, z, z, w); }
  609. }
  610. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  611. public double4 xzwx
  612. {
  613. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  614. get { return new double4(x, z, w, x); }
  615. }
  616. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  617. public double4 xzwy
  618. {
  619. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  620. get { return new double4(x, z, w, y); }
  621. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  622. set { x = value.x; z = value.y; w = value.z; y = value.w; }
  623. }
  624. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  625. public double4 xzwz
  626. {
  627. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  628. get { return new double4(x, z, w, z); }
  629. }
  630. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  631. public double4 xzww
  632. {
  633. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  634. get { return new double4(x, z, w, w); }
  635. }
  636. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  637. public double4 xwxx
  638. {
  639. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  640. get { return new double4(x, w, x, x); }
  641. }
  642. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  643. public double4 xwxy
  644. {
  645. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  646. get { return new double4(x, w, x, y); }
  647. }
  648. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  649. public double4 xwxz
  650. {
  651. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  652. get { return new double4(x, w, x, z); }
  653. }
  654. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  655. public double4 xwxw
  656. {
  657. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  658. get { return new double4(x, w, x, w); }
  659. }
  660. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  661. public double4 xwyx
  662. {
  663. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  664. get { return new double4(x, w, y, x); }
  665. }
  666. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  667. public double4 xwyy
  668. {
  669. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  670. get { return new double4(x, w, y, y); }
  671. }
  672. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  673. public double4 xwyz
  674. {
  675. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  676. get { return new double4(x, w, y, z); }
  677. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  678. set { x = value.x; w = value.y; y = value.z; z = value.w; }
  679. }
  680. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  681. public double4 xwyw
  682. {
  683. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  684. get { return new double4(x, w, y, w); }
  685. }
  686. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  687. public double4 xwzx
  688. {
  689. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  690. get { return new double4(x, w, z, x); }
  691. }
  692. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  693. public double4 xwzy
  694. {
  695. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  696. get { return new double4(x, w, z, y); }
  697. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  698. set { x = value.x; w = value.y; z = value.z; y = value.w; }
  699. }
  700. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  701. public double4 xwzz
  702. {
  703. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  704. get { return new double4(x, w, z, z); }
  705. }
  706. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  707. public double4 xwzw
  708. {
  709. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  710. get { return new double4(x, w, z, w); }
  711. }
  712. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  713. public double4 xwwx
  714. {
  715. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  716. get { return new double4(x, w, w, x); }
  717. }
  718. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  719. public double4 xwwy
  720. {
  721. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  722. get { return new double4(x, w, w, y); }
  723. }
  724. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  725. public double4 xwwz
  726. {
  727. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  728. get { return new double4(x, w, w, z); }
  729. }
  730. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  731. public double4 xwww
  732. {
  733. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  734. get { return new double4(x, w, w, w); }
  735. }
  736. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  737. public double4 yxxx
  738. {
  739. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  740. get { return new double4(y, x, x, x); }
  741. }
  742. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  743. public double4 yxxy
  744. {
  745. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  746. get { return new double4(y, x, x, y); }
  747. }
  748. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  749. public double4 yxxz
  750. {
  751. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  752. get { return new double4(y, x, x, z); }
  753. }
  754. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  755. public double4 yxxw
  756. {
  757. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  758. get { return new double4(y, x, x, w); }
  759. }
  760. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  761. public double4 yxyx
  762. {
  763. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  764. get { return new double4(y, x, y, x); }
  765. }
  766. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  767. public double4 yxyy
  768. {
  769. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  770. get { return new double4(y, x, y, y); }
  771. }
  772. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  773. public double4 yxyz
  774. {
  775. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  776. get { return new double4(y, x, y, z); }
  777. }
  778. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  779. public double4 yxyw
  780. {
  781. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  782. get { return new double4(y, x, y, w); }
  783. }
  784. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  785. public double4 yxzx
  786. {
  787. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  788. get { return new double4(y, x, z, x); }
  789. }
  790. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  791. public double4 yxzy
  792. {
  793. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  794. get { return new double4(y, x, z, y); }
  795. }
  796. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  797. public double4 yxzz
  798. {
  799. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  800. get { return new double4(y, x, z, z); }
  801. }
  802. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  803. public double4 yxzw
  804. {
  805. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  806. get { return new double4(y, x, z, w); }
  807. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  808. set { y = value.x; x = value.y; z = value.z; w = value.w; }
  809. }
  810. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  811. public double4 yxwx
  812. {
  813. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  814. get { return new double4(y, x, w, x); }
  815. }
  816. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  817. public double4 yxwy
  818. {
  819. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  820. get { return new double4(y, x, w, y); }
  821. }
  822. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  823. public double4 yxwz
  824. {
  825. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  826. get { return new double4(y, x, w, z); }
  827. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  828. set { y = value.x; x = value.y; w = value.z; z = value.w; }
  829. }
  830. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  831. public double4 yxww
  832. {
  833. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  834. get { return new double4(y, x, w, w); }
  835. }
  836. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  837. public double4 yyxx
  838. {
  839. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  840. get { return new double4(y, y, x, x); }
  841. }
  842. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  843. public double4 yyxy
  844. {
  845. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  846. get { return new double4(y, y, x, y); }
  847. }
  848. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  849. public double4 yyxz
  850. {
  851. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  852. get { return new double4(y, y, x, z); }
  853. }
  854. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  855. public double4 yyxw
  856. {
  857. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  858. get { return new double4(y, y, x, w); }
  859. }
  860. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  861. public double4 yyyx
  862. {
  863. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  864. get { return new double4(y, y, y, x); }
  865. }
  866. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  867. public double4 yyyy
  868. {
  869. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  870. get { return new double4(y, y, y, y); }
  871. }
  872. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  873. public double4 yyyz
  874. {
  875. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  876. get { return new double4(y, y, y, z); }
  877. }
  878. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  879. public double4 yyyw
  880. {
  881. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  882. get { return new double4(y, y, y, w); }
  883. }
  884. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  885. public double4 yyzx
  886. {
  887. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  888. get { return new double4(y, y, z, x); }
  889. }
  890. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  891. public double4 yyzy
  892. {
  893. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  894. get { return new double4(y, y, z, y); }
  895. }
  896. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  897. public double4 yyzz
  898. {
  899. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  900. get { return new double4(y, y, z, z); }
  901. }
  902. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  903. public double4 yyzw
  904. {
  905. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  906. get { return new double4(y, y, z, w); }
  907. }
  908. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  909. public double4 yywx
  910. {
  911. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  912. get { return new double4(y, y, w, x); }
  913. }
  914. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  915. public double4 yywy
  916. {
  917. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  918. get { return new double4(y, y, w, y); }
  919. }
  920. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  921. public double4 yywz
  922. {
  923. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  924. get { return new double4(y, y, w, z); }
  925. }
  926. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  927. public double4 yyww
  928. {
  929. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  930. get { return new double4(y, y, w, w); }
  931. }
  932. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  933. public double4 yzxx
  934. {
  935. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  936. get { return new double4(y, z, x, x); }
  937. }
  938. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  939. public double4 yzxy
  940. {
  941. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  942. get { return new double4(y, z, x, y); }
  943. }
  944. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  945. public double4 yzxz
  946. {
  947. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  948. get { return new double4(y, z, x, z); }
  949. }
  950. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  951. public double4 yzxw
  952. {
  953. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  954. get { return new double4(y, z, x, w); }
  955. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  956. set { y = value.x; z = value.y; x = value.z; w = value.w; }
  957. }
  958. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  959. public double4 yzyx
  960. {
  961. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  962. get { return new double4(y, z, y, x); }
  963. }
  964. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  965. public double4 yzyy
  966. {
  967. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  968. get { return new double4(y, z, y, y); }
  969. }
  970. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  971. public double4 yzyz
  972. {
  973. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  974. get { return new double4(y, z, y, z); }
  975. }
  976. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  977. public double4 yzyw
  978. {
  979. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  980. get { return new double4(y, z, y, w); }
  981. }
  982. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  983. public double4 yzzx
  984. {
  985. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  986. get { return new double4(y, z, z, x); }
  987. }
  988. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  989. public double4 yzzy
  990. {
  991. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  992. get { return new double4(y, z, z, y); }
  993. }
  994. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  995. public double4 yzzz
  996. {
  997. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  998. get { return new double4(y, z, z, z); }
  999. }
  1000. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1001. public double4 yzzw
  1002. {
  1003. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1004. get { return new double4(y, z, z, w); }
  1005. }
  1006. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1007. public double4 yzwx
  1008. {
  1009. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1010. get { return new double4(y, z, w, x); }
  1011. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1012. set { y = value.x; z = value.y; w = value.z; x = value.w; }
  1013. }
  1014. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1015. public double4 yzwy
  1016. {
  1017. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1018. get { return new double4(y, z, w, y); }
  1019. }
  1020. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1021. public double4 yzwz
  1022. {
  1023. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1024. get { return new double4(y, z, w, z); }
  1025. }
  1026. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1027. public double4 yzww
  1028. {
  1029. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1030. get { return new double4(y, z, w, w); }
  1031. }
  1032. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1033. public double4 ywxx
  1034. {
  1035. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1036. get { return new double4(y, w, x, x); }
  1037. }
  1038. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1039. public double4 ywxy
  1040. {
  1041. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1042. get { return new double4(y, w, x, y); }
  1043. }
  1044. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1045. public double4 ywxz
  1046. {
  1047. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1048. get { return new double4(y, w, x, z); }
  1049. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1050. set { y = value.x; w = value.y; x = value.z; z = value.w; }
  1051. }
  1052. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1053. public double4 ywxw
  1054. {
  1055. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1056. get { return new double4(y, w, x, w); }
  1057. }
  1058. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1059. public double4 ywyx
  1060. {
  1061. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1062. get { return new double4(y, w, y, x); }
  1063. }
  1064. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1065. public double4 ywyy
  1066. {
  1067. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1068. get { return new double4(y, w, y, y); }
  1069. }
  1070. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1071. public double4 ywyz
  1072. {
  1073. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1074. get { return new double4(y, w, y, z); }
  1075. }
  1076. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1077. public double4 ywyw
  1078. {
  1079. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1080. get { return new double4(y, w, y, w); }
  1081. }
  1082. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1083. public double4 ywzx
  1084. {
  1085. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1086. get { return new double4(y, w, z, x); }
  1087. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1088. set { y = value.x; w = value.y; z = value.z; x = value.w; }
  1089. }
  1090. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1091. public double4 ywzy
  1092. {
  1093. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1094. get { return new double4(y, w, z, y); }
  1095. }
  1096. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1097. public double4 ywzz
  1098. {
  1099. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1100. get { return new double4(y, w, z, z); }
  1101. }
  1102. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1103. public double4 ywzw
  1104. {
  1105. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1106. get { return new double4(y, w, z, w); }
  1107. }
  1108. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1109. public double4 ywwx
  1110. {
  1111. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1112. get { return new double4(y, w, w, x); }
  1113. }
  1114. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1115. public double4 ywwy
  1116. {
  1117. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1118. get { return new double4(y, w, w, y); }
  1119. }
  1120. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1121. public double4 ywwz
  1122. {
  1123. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1124. get { return new double4(y, w, w, z); }
  1125. }
  1126. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1127. public double4 ywww
  1128. {
  1129. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1130. get { return new double4(y, w, w, w); }
  1131. }
  1132. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1133. public double4 zxxx
  1134. {
  1135. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1136. get { return new double4(z, x, x, x); }
  1137. }
  1138. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1139. public double4 zxxy
  1140. {
  1141. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1142. get { return new double4(z, x, x, y); }
  1143. }
  1144. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1145. public double4 zxxz
  1146. {
  1147. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1148. get { return new double4(z, x, x, z); }
  1149. }
  1150. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1151. public double4 zxxw
  1152. {
  1153. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1154. get { return new double4(z, x, x, w); }
  1155. }
  1156. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1157. public double4 zxyx
  1158. {
  1159. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1160. get { return new double4(z, x, y, x); }
  1161. }
  1162. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1163. public double4 zxyy
  1164. {
  1165. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1166. get { return new double4(z, x, y, y); }
  1167. }
  1168. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1169. public double4 zxyz
  1170. {
  1171. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1172. get { return new double4(z, x, y, z); }
  1173. }
  1174. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1175. public double4 zxyw
  1176. {
  1177. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1178. get { return new double4(z, x, y, w); }
  1179. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1180. set { z = value.x; x = value.y; y = value.z; w = value.w; }
  1181. }
  1182. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1183. public double4 zxzx
  1184. {
  1185. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1186. get { return new double4(z, x, z, x); }
  1187. }
  1188. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1189. public double4 zxzy
  1190. {
  1191. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1192. get { return new double4(z, x, z, y); }
  1193. }
  1194. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1195. public double4 zxzz
  1196. {
  1197. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1198. get { return new double4(z, x, z, z); }
  1199. }
  1200. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1201. public double4 zxzw
  1202. {
  1203. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1204. get { return new double4(z, x, z, w); }
  1205. }
  1206. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1207. public double4 zxwx
  1208. {
  1209. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1210. get { return new double4(z, x, w, x); }
  1211. }
  1212. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1213. public double4 zxwy
  1214. {
  1215. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1216. get { return new double4(z, x, w, y); }
  1217. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1218. set { z = value.x; x = value.y; w = value.z; y = value.w; }
  1219. }
  1220. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1221. public double4 zxwz
  1222. {
  1223. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1224. get { return new double4(z, x, w, z); }
  1225. }
  1226. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1227. public double4 zxww
  1228. {
  1229. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1230. get { return new double4(z, x, w, w); }
  1231. }
  1232. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1233. public double4 zyxx
  1234. {
  1235. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1236. get { return new double4(z, y, x, x); }
  1237. }
  1238. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1239. public double4 zyxy
  1240. {
  1241. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1242. get { return new double4(z, y, x, y); }
  1243. }
  1244. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1245. public double4 zyxz
  1246. {
  1247. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1248. get { return new double4(z, y, x, z); }
  1249. }
  1250. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1251. public double4 zyxw
  1252. {
  1253. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1254. get { return new double4(z, y, x, w); }
  1255. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1256. set { z = value.x; y = value.y; x = value.z; w = value.w; }
  1257. }
  1258. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1259. public double4 zyyx
  1260. {
  1261. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1262. get { return new double4(z, y, y, x); }
  1263. }
  1264. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1265. public double4 zyyy
  1266. {
  1267. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1268. get { return new double4(z, y, y, y); }
  1269. }
  1270. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1271. public double4 zyyz
  1272. {
  1273. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1274. get { return new double4(z, y, y, z); }
  1275. }
  1276. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1277. public double4 zyyw
  1278. {
  1279. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1280. get { return new double4(z, y, y, w); }
  1281. }
  1282. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1283. public double4 zyzx
  1284. {
  1285. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1286. get { return new double4(z, y, z, x); }
  1287. }
  1288. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1289. public double4 zyzy
  1290. {
  1291. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1292. get { return new double4(z, y, z, y); }
  1293. }
  1294. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1295. public double4 zyzz
  1296. {
  1297. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1298. get { return new double4(z, y, z, z); }
  1299. }
  1300. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1301. public double4 zyzw
  1302. {
  1303. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1304. get { return new double4(z, y, z, w); }
  1305. }
  1306. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1307. public double4 zywx
  1308. {
  1309. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1310. get { return new double4(z, y, w, x); }
  1311. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1312. set { z = value.x; y = value.y; w = value.z; x = value.w; }
  1313. }
  1314. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1315. public double4 zywy
  1316. {
  1317. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1318. get { return new double4(z, y, w, y); }
  1319. }
  1320. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1321. public double4 zywz
  1322. {
  1323. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1324. get { return new double4(z, y, w, z); }
  1325. }
  1326. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1327. public double4 zyww
  1328. {
  1329. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1330. get { return new double4(z, y, w, w); }
  1331. }
  1332. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1333. public double4 zzxx
  1334. {
  1335. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1336. get { return new double4(z, z, x, x); }
  1337. }
  1338. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1339. public double4 zzxy
  1340. {
  1341. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1342. get { return new double4(z, z, x, y); }
  1343. }
  1344. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1345. public double4 zzxz
  1346. {
  1347. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1348. get { return new double4(z, z, x, z); }
  1349. }
  1350. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1351. public double4 zzxw
  1352. {
  1353. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1354. get { return new double4(z, z, x, w); }
  1355. }
  1356. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1357. public double4 zzyx
  1358. {
  1359. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1360. get { return new double4(z, z, y, x); }
  1361. }
  1362. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1363. public double4 zzyy
  1364. {
  1365. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1366. get { return new double4(z, z, y, y); }
  1367. }
  1368. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1369. public double4 zzyz
  1370. {
  1371. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1372. get { return new double4(z, z, y, z); }
  1373. }
  1374. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1375. public double4 zzyw
  1376. {
  1377. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1378. get { return new double4(z, z, y, w); }
  1379. }
  1380. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1381. public double4 zzzx
  1382. {
  1383. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1384. get { return new double4(z, z, z, x); }
  1385. }
  1386. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1387. public double4 zzzy
  1388. {
  1389. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1390. get { return new double4(z, z, z, y); }
  1391. }
  1392. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1393. public double4 zzzz
  1394. {
  1395. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1396. get { return new double4(z, z, z, z); }
  1397. }
  1398. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1399. public double4 zzzw
  1400. {
  1401. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1402. get { return new double4(z, z, z, w); }
  1403. }
  1404. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1405. public double4 zzwx
  1406. {
  1407. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1408. get { return new double4(z, z, w, x); }
  1409. }
  1410. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1411. public double4 zzwy
  1412. {
  1413. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1414. get { return new double4(z, z, w, y); }
  1415. }
  1416. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1417. public double4 zzwz
  1418. {
  1419. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1420. get { return new double4(z, z, w, z); }
  1421. }
  1422. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1423. public double4 zzww
  1424. {
  1425. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1426. get { return new double4(z, z, w, w); }
  1427. }
  1428. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1429. public double4 zwxx
  1430. {
  1431. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1432. get { return new double4(z, w, x, x); }
  1433. }
  1434. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1435. public double4 zwxy
  1436. {
  1437. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1438. get { return new double4(z, w, x, y); }
  1439. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1440. set { z = value.x; w = value.y; x = value.z; y = value.w; }
  1441. }
  1442. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1443. public double4 zwxz
  1444. {
  1445. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1446. get { return new double4(z, w, x, z); }
  1447. }
  1448. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1449. public double4 zwxw
  1450. {
  1451. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1452. get { return new double4(z, w, x, w); }
  1453. }
  1454. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1455. public double4 zwyx
  1456. {
  1457. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1458. get { return new double4(z, w, y, x); }
  1459. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1460. set { z = value.x; w = value.y; y = value.z; x = value.w; }
  1461. }
  1462. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1463. public double4 zwyy
  1464. {
  1465. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1466. get { return new double4(z, w, y, y); }
  1467. }
  1468. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1469. public double4 zwyz
  1470. {
  1471. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1472. get { return new double4(z, w, y, z); }
  1473. }
  1474. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1475. public double4 zwyw
  1476. {
  1477. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1478. get { return new double4(z, w, y, w); }
  1479. }
  1480. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1481. public double4 zwzx
  1482. {
  1483. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1484. get { return new double4(z, w, z, x); }
  1485. }
  1486. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1487. public double4 zwzy
  1488. {
  1489. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1490. get { return new double4(z, w, z, y); }
  1491. }
  1492. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1493. public double4 zwzz
  1494. {
  1495. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1496. get { return new double4(z, w, z, z); }
  1497. }
  1498. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1499. public double4 zwzw
  1500. {
  1501. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1502. get { return new double4(z, w, z, w); }
  1503. }
  1504. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1505. public double4 zwwx
  1506. {
  1507. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1508. get { return new double4(z, w, w, x); }
  1509. }
  1510. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1511. public double4 zwwy
  1512. {
  1513. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1514. get { return new double4(z, w, w, y); }
  1515. }
  1516. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1517. public double4 zwwz
  1518. {
  1519. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1520. get { return new double4(z, w, w, z); }
  1521. }
  1522. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1523. public double4 zwww
  1524. {
  1525. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1526. get { return new double4(z, w, w, w); }
  1527. }
  1528. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1529. public double4 wxxx
  1530. {
  1531. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1532. get { return new double4(w, x, x, x); }
  1533. }
  1534. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1535. public double4 wxxy
  1536. {
  1537. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1538. get { return new double4(w, x, x, y); }
  1539. }
  1540. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1541. public double4 wxxz
  1542. {
  1543. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1544. get { return new double4(w, x, x, z); }
  1545. }
  1546. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1547. public double4 wxxw
  1548. {
  1549. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1550. get { return new double4(w, x, x, w); }
  1551. }
  1552. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1553. public double4 wxyx
  1554. {
  1555. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1556. get { return new double4(w, x, y, x); }
  1557. }
  1558. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1559. public double4 wxyy
  1560. {
  1561. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1562. get { return new double4(w, x, y, y); }
  1563. }
  1564. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1565. public double4 wxyz
  1566. {
  1567. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1568. get { return new double4(w, x, y, z); }
  1569. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1570. set { w = value.x; x = value.y; y = value.z; z = value.w; }
  1571. }
  1572. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1573. public double4 wxyw
  1574. {
  1575. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1576. get { return new double4(w, x, y, w); }
  1577. }
  1578. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1579. public double4 wxzx
  1580. {
  1581. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1582. get { return new double4(w, x, z, x); }
  1583. }
  1584. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1585. public double4 wxzy
  1586. {
  1587. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1588. get { return new double4(w, x, z, y); }
  1589. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1590. set { w = value.x; x = value.y; z = value.z; y = value.w; }
  1591. }
  1592. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1593. public double4 wxzz
  1594. {
  1595. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1596. get { return new double4(w, x, z, z); }
  1597. }
  1598. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1599. public double4 wxzw
  1600. {
  1601. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1602. get { return new double4(w, x, z, w); }
  1603. }
  1604. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1605. public double4 wxwx
  1606. {
  1607. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1608. get { return new double4(w, x, w, x); }
  1609. }
  1610. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1611. public double4 wxwy
  1612. {
  1613. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1614. get { return new double4(w, x, w, y); }
  1615. }
  1616. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1617. public double4 wxwz
  1618. {
  1619. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1620. get { return new double4(w, x, w, z); }
  1621. }
  1622. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1623. public double4 wxww
  1624. {
  1625. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1626. get { return new double4(w, x, w, w); }
  1627. }
  1628. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1629. public double4 wyxx
  1630. {
  1631. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1632. get { return new double4(w, y, x, x); }
  1633. }
  1634. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1635. public double4 wyxy
  1636. {
  1637. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1638. get { return new double4(w, y, x, y); }
  1639. }
  1640. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1641. public double4 wyxz
  1642. {
  1643. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1644. get { return new double4(w, y, x, z); }
  1645. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1646. set { w = value.x; y = value.y; x = value.z; z = value.w; }
  1647. }
  1648. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1649. public double4 wyxw
  1650. {
  1651. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1652. get { return new double4(w, y, x, w); }
  1653. }
  1654. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1655. public double4 wyyx
  1656. {
  1657. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1658. get { return new double4(w, y, y, x); }
  1659. }
  1660. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1661. public double4 wyyy
  1662. {
  1663. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1664. get { return new double4(w, y, y, y); }
  1665. }
  1666. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1667. public double4 wyyz
  1668. {
  1669. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1670. get { return new double4(w, y, y, z); }
  1671. }
  1672. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1673. public double4 wyyw
  1674. {
  1675. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1676. get { return new double4(w, y, y, w); }
  1677. }
  1678. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1679. public double4 wyzx
  1680. {
  1681. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1682. get { return new double4(w, y, z, x); }
  1683. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1684. set { w = value.x; y = value.y; z = value.z; x = value.w; }
  1685. }
  1686. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1687. public double4 wyzy
  1688. {
  1689. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1690. get { return new double4(w, y, z, y); }
  1691. }
  1692. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1693. public double4 wyzz
  1694. {
  1695. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1696. get { return new double4(w, y, z, z); }
  1697. }
  1698. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1699. public double4 wyzw
  1700. {
  1701. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1702. get { return new double4(w, y, z, w); }
  1703. }
  1704. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1705. public double4 wywx
  1706. {
  1707. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1708. get { return new double4(w, y, w, x); }
  1709. }
  1710. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1711. public double4 wywy
  1712. {
  1713. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1714. get { return new double4(w, y, w, y); }
  1715. }
  1716. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1717. public double4 wywz
  1718. {
  1719. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1720. get { return new double4(w, y, w, z); }
  1721. }
  1722. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1723. public double4 wyww
  1724. {
  1725. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1726. get { return new double4(w, y, w, w); }
  1727. }
  1728. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1729. public double4 wzxx
  1730. {
  1731. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1732. get { return new double4(w, z, x, x); }
  1733. }
  1734. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1735. public double4 wzxy
  1736. {
  1737. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1738. get { return new double4(w, z, x, y); }
  1739. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1740. set { w = value.x; z = value.y; x = value.z; y = value.w; }
  1741. }
  1742. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1743. public double4 wzxz
  1744. {
  1745. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1746. get { return new double4(w, z, x, z); }
  1747. }
  1748. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1749. public double4 wzxw
  1750. {
  1751. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1752. get { return new double4(w, z, x, w); }
  1753. }
  1754. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1755. public double4 wzyx
  1756. {
  1757. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1758. get { return new double4(w, z, y, x); }
  1759. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1760. set { w = value.x; z = value.y; y = value.z; x = value.w; }
  1761. }
  1762. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1763. public double4 wzyy
  1764. {
  1765. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1766. get { return new double4(w, z, y, y); }
  1767. }
  1768. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1769. public double4 wzyz
  1770. {
  1771. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1772. get { return new double4(w, z, y, z); }
  1773. }
  1774. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1775. public double4 wzyw
  1776. {
  1777. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1778. get { return new double4(w, z, y, w); }
  1779. }
  1780. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1781. public double4 wzzx
  1782. {
  1783. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1784. get { return new double4(w, z, z, x); }
  1785. }
  1786. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1787. public double4 wzzy
  1788. {
  1789. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1790. get { return new double4(w, z, z, y); }
  1791. }
  1792. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1793. public double4 wzzz
  1794. {
  1795. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1796. get { return new double4(w, z, z, z); }
  1797. }
  1798. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1799. public double4 wzzw
  1800. {
  1801. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1802. get { return new double4(w, z, z, w); }
  1803. }
  1804. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1805. public double4 wzwx
  1806. {
  1807. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1808. get { return new double4(w, z, w, x); }
  1809. }
  1810. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1811. public double4 wzwy
  1812. {
  1813. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1814. get { return new double4(w, z, w, y); }
  1815. }
  1816. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1817. public double4 wzwz
  1818. {
  1819. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1820. get { return new double4(w, z, w, z); }
  1821. }
  1822. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1823. public double4 wzww
  1824. {
  1825. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1826. get { return new double4(w, z, w, w); }
  1827. }
  1828. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1829. public double4 wwxx
  1830. {
  1831. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1832. get { return new double4(w, w, x, x); }
  1833. }
  1834. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1835. public double4 wwxy
  1836. {
  1837. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1838. get { return new double4(w, w, x, y); }
  1839. }
  1840. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1841. public double4 wwxz
  1842. {
  1843. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1844. get { return new double4(w, w, x, z); }
  1845. }
  1846. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1847. public double4 wwxw
  1848. {
  1849. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1850. get { return new double4(w, w, x, w); }
  1851. }
  1852. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1853. public double4 wwyx
  1854. {
  1855. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1856. get { return new double4(w, w, y, x); }
  1857. }
  1858. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1859. public double4 wwyy
  1860. {
  1861. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1862. get { return new double4(w, w, y, y); }
  1863. }
  1864. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1865. public double4 wwyz
  1866. {
  1867. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1868. get { return new double4(w, w, y, z); }
  1869. }
  1870. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1871. public double4 wwyw
  1872. {
  1873. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1874. get { return new double4(w, w, y, w); }
  1875. }
  1876. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1877. public double4 wwzx
  1878. {
  1879. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1880. get { return new double4(w, w, z, x); }
  1881. }
  1882. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1883. public double4 wwzy
  1884. {
  1885. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1886. get { return new double4(w, w, z, y); }
  1887. }
  1888. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1889. public double4 wwzz
  1890. {
  1891. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1892. get { return new double4(w, w, z, z); }
  1893. }
  1894. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1895. public double4 wwzw
  1896. {
  1897. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1898. get { return new double4(w, w, z, w); }
  1899. }
  1900. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1901. public double4 wwwx
  1902. {
  1903. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1904. get { return new double4(w, w, w, x); }
  1905. }
  1906. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1907. public double4 wwwy
  1908. {
  1909. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1910. get { return new double4(w, w, w, y); }
  1911. }
  1912. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1913. public double4 wwwz
  1914. {
  1915. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1916. get { return new double4(w, w, w, z); }
  1917. }
  1918. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1919. public double4 wwww
  1920. {
  1921. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1922. get { return new double4(w, w, w, w); }
  1923. }
  1924. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1925. public double3 xxx
  1926. {
  1927. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1928. get { return new double3(x, x, x); }
  1929. }
  1930. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1931. public double3 xxy
  1932. {
  1933. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1934. get { return new double3(x, x, y); }
  1935. }
  1936. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1937. public double3 xxz
  1938. {
  1939. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1940. get { return new double3(x, x, z); }
  1941. }
  1942. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1943. public double3 xxw
  1944. {
  1945. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1946. get { return new double3(x, x, w); }
  1947. }
  1948. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1949. public double3 xyx
  1950. {
  1951. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1952. get { return new double3(x, y, x); }
  1953. }
  1954. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1955. public double3 xyy
  1956. {
  1957. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1958. get { return new double3(x, y, y); }
  1959. }
  1960. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1961. public double3 xyz
  1962. {
  1963. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1964. get { return new double3(x, y, z); }
  1965. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1966. set { x = value.x; y = value.y; z = value.z; }
  1967. }
  1968. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1969. public double3 xyw
  1970. {
  1971. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1972. get { return new double3(x, y, w); }
  1973. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1974. set { x = value.x; y = value.y; w = value.z; }
  1975. }
  1976. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1977. public double3 xzx
  1978. {
  1979. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1980. get { return new double3(x, z, x); }
  1981. }
  1982. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1983. public double3 xzy
  1984. {
  1985. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1986. get { return new double3(x, z, y); }
  1987. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1988. set { x = value.x; z = value.y; y = value.z; }
  1989. }
  1990. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1991. public double3 xzz
  1992. {
  1993. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1994. get { return new double3(x, z, z); }
  1995. }
  1996. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1997. public double3 xzw
  1998. {
  1999. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2000. get { return new double3(x, z, w); }
  2001. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2002. set { x = value.x; z = value.y; w = value.z; }
  2003. }
  2004. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2005. public double3 xwx
  2006. {
  2007. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2008. get { return new double3(x, w, x); }
  2009. }
  2010. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2011. public double3 xwy
  2012. {
  2013. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2014. get { return new double3(x, w, y); }
  2015. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2016. set { x = value.x; w = value.y; y = value.z; }
  2017. }
  2018. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2019. public double3 xwz
  2020. {
  2021. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2022. get { return new double3(x, w, z); }
  2023. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2024. set { x = value.x; w = value.y; z = value.z; }
  2025. }
  2026. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2027. public double3 xww
  2028. {
  2029. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2030. get { return new double3(x, w, w); }
  2031. }
  2032. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2033. public double3 yxx
  2034. {
  2035. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2036. get { return new double3(y, x, x); }
  2037. }
  2038. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2039. public double3 yxy
  2040. {
  2041. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2042. get { return new double3(y, x, y); }
  2043. }
  2044. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2045. public double3 yxz
  2046. {
  2047. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2048. get { return new double3(y, x, z); }
  2049. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2050. set { y = value.x; x = value.y; z = value.z; }
  2051. }
  2052. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2053. public double3 yxw
  2054. {
  2055. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2056. get { return new double3(y, x, w); }
  2057. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2058. set { y = value.x; x = value.y; w = value.z; }
  2059. }
  2060. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2061. public double3 yyx
  2062. {
  2063. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2064. get { return new double3(y, y, x); }
  2065. }
  2066. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2067. public double3 yyy
  2068. {
  2069. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2070. get { return new double3(y, y, y); }
  2071. }
  2072. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2073. public double3 yyz
  2074. {
  2075. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2076. get { return new double3(y, y, z); }
  2077. }
  2078. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2079. public double3 yyw
  2080. {
  2081. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2082. get { return new double3(y, y, w); }
  2083. }
  2084. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2085. public double3 yzx
  2086. {
  2087. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2088. get { return new double3(y, z, x); }
  2089. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2090. set { y = value.x; z = value.y; x = value.z; }
  2091. }
  2092. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2093. public double3 yzy
  2094. {
  2095. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2096. get { return new double3(y, z, y); }
  2097. }
  2098. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2099. public double3 yzz
  2100. {
  2101. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2102. get { return new double3(y, z, z); }
  2103. }
  2104. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2105. public double3 yzw
  2106. {
  2107. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2108. get { return new double3(y, z, w); }
  2109. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2110. set { y = value.x; z = value.y; w = value.z; }
  2111. }
  2112. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2113. public double3 ywx
  2114. {
  2115. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2116. get { return new double3(y, w, x); }
  2117. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2118. set { y = value.x; w = value.y; x = value.z; }
  2119. }
  2120. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2121. public double3 ywy
  2122. {
  2123. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2124. get { return new double3(y, w, y); }
  2125. }
  2126. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2127. public double3 ywz
  2128. {
  2129. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2130. get { return new double3(y, w, z); }
  2131. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2132. set { y = value.x; w = value.y; z = value.z; }
  2133. }
  2134. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2135. public double3 yww
  2136. {
  2137. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2138. get { return new double3(y, w, w); }
  2139. }
  2140. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2141. public double3 zxx
  2142. {
  2143. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2144. get { return new double3(z, x, x); }
  2145. }
  2146. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2147. public double3 zxy
  2148. {
  2149. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2150. get { return new double3(z, x, y); }
  2151. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2152. set { z = value.x; x = value.y; y = value.z; }
  2153. }
  2154. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2155. public double3 zxz
  2156. {
  2157. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2158. get { return new double3(z, x, z); }
  2159. }
  2160. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2161. public double3 zxw
  2162. {
  2163. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2164. get { return new double3(z, x, w); }
  2165. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2166. set { z = value.x; x = value.y; w = value.z; }
  2167. }
  2168. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2169. public double3 zyx
  2170. {
  2171. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2172. get { return new double3(z, y, x); }
  2173. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2174. set { z = value.x; y = value.y; x = value.z; }
  2175. }
  2176. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2177. public double3 zyy
  2178. {
  2179. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2180. get { return new double3(z, y, y); }
  2181. }
  2182. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2183. public double3 zyz
  2184. {
  2185. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2186. get { return new double3(z, y, z); }
  2187. }
  2188. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2189. public double3 zyw
  2190. {
  2191. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2192. get { return new double3(z, y, w); }
  2193. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2194. set { z = value.x; y = value.y; w = value.z; }
  2195. }
  2196. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2197. public double3 zzx
  2198. {
  2199. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2200. get { return new double3(z, z, x); }
  2201. }
  2202. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2203. public double3 zzy
  2204. {
  2205. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2206. get { return new double3(z, z, y); }
  2207. }
  2208. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2209. public double3 zzz
  2210. {
  2211. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2212. get { return new double3(z, z, z); }
  2213. }
  2214. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2215. public double3 zzw
  2216. {
  2217. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2218. get { return new double3(z, z, w); }
  2219. }
  2220. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2221. public double3 zwx
  2222. {
  2223. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2224. get { return new double3(z, w, x); }
  2225. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2226. set { z = value.x; w = value.y; x = value.z; }
  2227. }
  2228. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2229. public double3 zwy
  2230. {
  2231. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2232. get { return new double3(z, w, y); }
  2233. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2234. set { z = value.x; w = value.y; y = value.z; }
  2235. }
  2236. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2237. public double3 zwz
  2238. {
  2239. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2240. get { return new double3(z, w, z); }
  2241. }
  2242. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2243. public double3 zww
  2244. {
  2245. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2246. get { return new double3(z, w, w); }
  2247. }
  2248. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2249. public double3 wxx
  2250. {
  2251. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2252. get { return new double3(w, x, x); }
  2253. }
  2254. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2255. public double3 wxy
  2256. {
  2257. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2258. get { return new double3(w, x, y); }
  2259. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2260. set { w = value.x; x = value.y; y = value.z; }
  2261. }
  2262. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2263. public double3 wxz
  2264. {
  2265. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2266. get { return new double3(w, x, z); }
  2267. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2268. set { w = value.x; x = value.y; z = value.z; }
  2269. }
  2270. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2271. public double3 wxw
  2272. {
  2273. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2274. get { return new double3(w, x, w); }
  2275. }
  2276. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2277. public double3 wyx
  2278. {
  2279. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2280. get { return new double3(w, y, x); }
  2281. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2282. set { w = value.x; y = value.y; x = value.z; }
  2283. }
  2284. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2285. public double3 wyy
  2286. {
  2287. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2288. get { return new double3(w, y, y); }
  2289. }
  2290. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2291. public double3 wyz
  2292. {
  2293. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2294. get { return new double3(w, y, z); }
  2295. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2296. set { w = value.x; y = value.y; z = value.z; }
  2297. }
  2298. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2299. public double3 wyw
  2300. {
  2301. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2302. get { return new double3(w, y, w); }
  2303. }
  2304. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2305. public double3 wzx
  2306. {
  2307. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2308. get { return new double3(w, z, x); }
  2309. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2310. set { w = value.x; z = value.y; x = value.z; }
  2311. }
  2312. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2313. public double3 wzy
  2314. {
  2315. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2316. get { return new double3(w, z, y); }
  2317. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2318. set { w = value.x; z = value.y; y = value.z; }
  2319. }
  2320. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2321. public double3 wzz
  2322. {
  2323. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2324. get { return new double3(w, z, z); }
  2325. }
  2326. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2327. public double3 wzw
  2328. {
  2329. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2330. get { return new double3(w, z, w); }
  2331. }
  2332. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2333. public double3 wwx
  2334. {
  2335. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2336. get { return new double3(w, w, x); }
  2337. }
  2338. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2339. public double3 wwy
  2340. {
  2341. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2342. get { return new double3(w, w, y); }
  2343. }
  2344. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2345. public double3 wwz
  2346. {
  2347. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2348. get { return new double3(w, w, z); }
  2349. }
  2350. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2351. public double3 www
  2352. {
  2353. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2354. get { return new double3(w, w, w); }
  2355. }
  2356. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2357. public double2 xx
  2358. {
  2359. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2360. get { return new double2(x, x); }
  2361. }
  2362. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2363. public double2 xy
  2364. {
  2365. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2366. get { return new double2(x, y); }
  2367. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2368. set { x = value.x; y = value.y; }
  2369. }
  2370. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2371. public double2 xz
  2372. {
  2373. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2374. get { return new double2(x, z); }
  2375. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2376. set { x = value.x; z = value.y; }
  2377. }
  2378. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2379. public double2 xw
  2380. {
  2381. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2382. get { return new double2(x, w); }
  2383. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2384. set { x = value.x; w = value.y; }
  2385. }
  2386. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2387. public double2 yx
  2388. {
  2389. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2390. get { return new double2(y, x); }
  2391. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2392. set { y = value.x; x = value.y; }
  2393. }
  2394. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2395. public double2 yy
  2396. {
  2397. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2398. get { return new double2(y, y); }
  2399. }
  2400. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2401. public double2 yz
  2402. {
  2403. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2404. get { return new double2(y, z); }
  2405. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2406. set { y = value.x; z = value.y; }
  2407. }
  2408. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2409. public double2 yw
  2410. {
  2411. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2412. get { return new double2(y, w); }
  2413. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2414. set { y = value.x; w = value.y; }
  2415. }
  2416. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2417. public double2 zx
  2418. {
  2419. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2420. get { return new double2(z, x); }
  2421. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2422. set { z = value.x; x = value.y; }
  2423. }
  2424. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2425. public double2 zy
  2426. {
  2427. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2428. get { return new double2(z, y); }
  2429. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2430. set { z = value.x; y = value.y; }
  2431. }
  2432. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2433. public double2 zz
  2434. {
  2435. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2436. get { return new double2(z, z); }
  2437. }
  2438. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2439. public double2 zw
  2440. {
  2441. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2442. get { return new double2(z, w); }
  2443. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2444. set { z = value.x; w = value.y; }
  2445. }
  2446. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2447. public double2 wx
  2448. {
  2449. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2450. get { return new double2(w, x); }
  2451. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2452. set { w = value.x; x = value.y; }
  2453. }
  2454. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2455. public double2 wy
  2456. {
  2457. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2458. get { return new double2(w, y); }
  2459. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2460. set { w = value.x; y = value.y; }
  2461. }
  2462. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2463. public double2 wz
  2464. {
  2465. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2466. get { return new double2(w, z); }
  2467. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2468. set { w = value.x; z = value.y; }
  2469. }
  2470. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2471. public double2 ww
  2472. {
  2473. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2474. get { return new double2(w, w); }
  2475. }
  2476. /// <summary>Returns the double element at a specified index.</summary>
  2477. unsafe public double this[int index]
  2478. {
  2479. get
  2480. {
  2481. #if ENABLE_UNITY_COLLECTIONS_CHECKS
  2482. if ((uint)index >= 4)
  2483. throw new System.ArgumentException("index must be between[0...3]");
  2484. #endif
  2485. fixed (double4* array = &this) { return ((double*)array)[index]; }
  2486. }
  2487. set
  2488. {
  2489. #if ENABLE_UNITY_COLLECTIONS_CHECKS
  2490. if ((uint)index >= 4)
  2491. throw new System.ArgumentException("index must be between[0...3]");
  2492. #endif
  2493. fixed (double* array = &x) { array[index] = value; }
  2494. }
  2495. }
  2496. /// <summary>Returns true if the double4 is equal to a given double4, false otherwise.</summary>
  2497. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2498. public bool Equals(double4 rhs) { return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w; }
  2499. /// <summary>Returns true if the double4 is equal to a given double4, false otherwise.</summary>
  2500. public override bool Equals(object o) { return Equals((double4)o); }
  2501. /// <summary>Returns a hash code for the double4.</summary>
  2502. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2503. public override int GetHashCode() { return (int)math.hash(this); }
  2504. /// <summary>Returns a string representation of the double4.</summary>
  2505. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2506. public override string ToString()
  2507. {
  2508. return string.Format("double4({0}, {1}, {2}, {3})", x, y, z, w);
  2509. }
  2510. /// <summary>Returns a string representation of the double4 using a specified format and culture-specific format information.</summary>
  2511. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2512. public string ToString(string format, IFormatProvider formatProvider)
  2513. {
  2514. return string.Format("double4({0}, {1}, {2}, {3})", x.ToString(format, formatProvider), y.ToString(format, formatProvider), z.ToString(format, formatProvider), w.ToString(format, formatProvider));
  2515. }
  2516. internal sealed class DebuggerProxy
  2517. {
  2518. public double x;
  2519. public double y;
  2520. public double z;
  2521. public double w;
  2522. public DebuggerProxy(double4 v)
  2523. {
  2524. x = v.x;
  2525. y = v.y;
  2526. z = v.z;
  2527. w = v.w;
  2528. }
  2529. }
  2530. }
  2531. public static partial class math
  2532. {
  2533. /// <summary>Returns a double4 vector constructed from four double values.</summary>
  2534. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2535. public static double4 double4(double x, double y, double z, double w) { return new double4(x, y, z, w); }
  2536. /// <summary>Returns a double4 vector constructed from two double values and a double2 vector.</summary>
  2537. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2538. public static double4 double4(double x, double y, double2 zw) { return new double4(x, y, zw); }
  2539. /// <summary>Returns a double4 vector constructed from a double value, a double2 vector and a double value.</summary>
  2540. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2541. public static double4 double4(double x, double2 yz, double w) { return new double4(x, yz, w); }
  2542. /// <summary>Returns a double4 vector constructed from a double value and a double3 vector.</summary>
  2543. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2544. public static double4 double4(double x, double3 yzw) { return new double4(x, yzw); }
  2545. /// <summary>Returns a double4 vector constructed from a double2 vector and two double values.</summary>
  2546. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2547. public static double4 double4(double2 xy, double z, double w) { return new double4(xy, z, w); }
  2548. /// <summary>Returns a double4 vector constructed from two double2 vectors.</summary>
  2549. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2550. public static double4 double4(double2 xy, double2 zw) { return new double4(xy, zw); }
  2551. /// <summary>Returns a double4 vector constructed from a double3 vector and a double value.</summary>
  2552. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2553. public static double4 double4(double3 xyz, double w) { return new double4(xyz, w); }
  2554. /// <summary>Returns a double4 vector constructed from a double4 vector.</summary>
  2555. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2556. public static double4 double4(double4 xyzw) { return new double4(xyzw); }
  2557. /// <summary>Returns a double4 vector constructed from a single double value by assigning it to every component.</summary>
  2558. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2559. public static double4 double4(double v) { return new double4(v); }
  2560. /// <summary>Returns a double4 vector constructed from a single bool value by converting it to double and assigning it to every component.</summary>
  2561. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2562. public static double4 double4(bool v) { return new double4(v); }
  2563. /// <summary>Return a double4 vector constructed from a bool4 vector by componentwise conversion.</summary>
  2564. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2565. public static double4 double4(bool4 v) { return new double4(v); }
  2566. /// <summary>Returns a double4 vector constructed from a single int value by converting it to double and assigning it to every component.</summary>
  2567. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2568. public static double4 double4(int v) { return new double4(v); }
  2569. /// <summary>Return a double4 vector constructed from a int4 vector by componentwise conversion.</summary>
  2570. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2571. public static double4 double4(int4 v) { return new double4(v); }
  2572. /// <summary>Returns a double4 vector constructed from a single uint value by converting it to double and assigning it to every component.</summary>
  2573. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2574. public static double4 double4(uint v) { return new double4(v); }
  2575. /// <summary>Return a double4 vector constructed from a uint4 vector by componentwise conversion.</summary>
  2576. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2577. public static double4 double4(uint4 v) { return new double4(v); }
  2578. /// <summary>Returns a double4 vector constructed from a single half value by converting it to double and assigning it to every component.</summary>
  2579. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2580. public static double4 double4(half v) { return new double4(v); }
  2581. /// <summary>Return a double4 vector constructed from a half4 vector by componentwise conversion.</summary>
  2582. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2583. public static double4 double4(half4 v) { return new double4(v); }
  2584. /// <summary>Returns a double4 vector constructed from a single float value by converting it to double and assigning it to every component.</summary>
  2585. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2586. public static double4 double4(float v) { return new double4(v); }
  2587. /// <summary>Return a double4 vector constructed from a float4 vector by componentwise conversion.</summary>
  2588. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2589. public static double4 double4(float4 v) { return new double4(v); }
  2590. /// <summary>Returns a uint hash code of a double4 vector.</summary>
  2591. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2592. public static uint hash(double4 v)
  2593. {
  2594. return csum(fold_to_uint(v) * uint4(0x9F1C739Bu, 0x4B1BD187u, 0x9DF50593u, 0xF18EEB85u)) + 0x9E19BFC3u;
  2595. }
  2596. /// <summary>
  2597. /// Returns a uint4 vector hash code of a double4 vector.
  2598. /// When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
  2599. /// that are only reduced to a narrow uint hash at the very end instead of at every step.
  2600. /// </summary>
  2601. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2602. public static uint4 hashwide(double4 v)
  2603. {
  2604. return (fold_to_uint(v) * uint4(0x8196B06Fu, 0xD24EFA19u, 0x7D8048BBu, 0x713BD06Fu)) + 0x753AD6ADu;
  2605. }
  2606. /// <summary>Returns the result of specified shuffling of the components from two double4 vectors into a double value.</summary>
  2607. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2608. public static double shuffle(double4 a, double4 b, ShuffleComponent x)
  2609. {
  2610. return select_shuffle_component(a, b, x);
  2611. }
  2612. /// <summary>Returns the result of specified shuffling of the components from two double4 vectors into a double2 vector.</summary>
  2613. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2614. public static double2 shuffle(double4 a, double4 b, ShuffleComponent x, ShuffleComponent y)
  2615. {
  2616. return double2(
  2617. select_shuffle_component(a, b, x),
  2618. select_shuffle_component(a, b, y));
  2619. }
  2620. /// <summary>Returns the result of specified shuffling of the components from two double4 vectors into a double3 vector.</summary>
  2621. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2622. public static double3 shuffle(double4 a, double4 b, ShuffleComponent x, ShuffleComponent y, ShuffleComponent z)
  2623. {
  2624. return double3(
  2625. select_shuffle_component(a, b, x),
  2626. select_shuffle_component(a, b, y),
  2627. select_shuffle_component(a, b, z));
  2628. }
  2629. /// <summary>Returns the result of specified shuffling of the components from two double4 vectors into a double4 vector.</summary>
  2630. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2631. public static double4 shuffle(double4 a, double4 b, ShuffleComponent x, ShuffleComponent y, ShuffleComponent z, ShuffleComponent w)
  2632. {
  2633. return double4(
  2634. select_shuffle_component(a, b, x),
  2635. select_shuffle_component(a, b, y),
  2636. select_shuffle_component(a, b, z),
  2637. select_shuffle_component(a, b, w));
  2638. }
  2639. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2640. internal static double select_shuffle_component(double4 a, double4 b, ShuffleComponent component)
  2641. {
  2642. switch(component)
  2643. {
  2644. case ShuffleComponent.LeftX:
  2645. return a.x;
  2646. case ShuffleComponent.LeftY:
  2647. return a.y;
  2648. case ShuffleComponent.LeftZ:
  2649. return a.z;
  2650. case ShuffleComponent.LeftW:
  2651. return a.w;
  2652. case ShuffleComponent.RightX:
  2653. return b.x;
  2654. case ShuffleComponent.RightY:
  2655. return b.y;
  2656. case ShuffleComponent.RightZ:
  2657. return b.z;
  2658. case ShuffleComponent.RightW:
  2659. return b.w;
  2660. default:
  2661. throw new System.ArgumentException("Invalid shuffle component: " + component);
  2662. }
  2663. }
  2664. }
  2665. }