Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

double4.gen.cs 165KB

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