home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2004 August / CyberMycha 08-2004 (Poland).bin / Spiderman2 / MainApp.cab / Core.u / Vector_Object_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-01-13  |  16.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 47 85 02 2f 2f 3d 3d 3d |........|G..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 4f |========|==..// O|
|00000060| 62 6a 65 63 74 3a 20 54 | 68 65 20 62 61 73 65 20 |bject: T|he base |
|00000070| 63 6c 61 73 73 20 61 6c | 6c 20 6f 62 6a 65 63 74 |class al|l object|
|00000080| 73 2e 0d 0a 2f 2f 20 54 | 68 69 73 20 69 73 20 61 |s...// T|his is a|
|00000090| 20 62 75 69 6c 74 2d 69 | 6e 20 55 6e 72 65 61 6c | built-i|n Unreal|
|000000a0| 20 63 6c 61 73 73 20 61 | 6e 64 20 69 74 20 73 68 | class a|nd it sh|
|000000b0| 6f 75 6c 64 6e 27 74 20 | 62 65 20 6d 6f 64 69 66 |ouldn't |be modif|
|000000c0| 69 65 64 2e 0d 0a 2f 2f | 3d 3d 3d 3d 3d 3d 3d 3d |ied...//|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000100| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000110| 3d 3d 3d 3d 3d 0d 0a 63 | 6c 61 73 73 20 4f 62 6a |=====..c|lass Obj|
|00000120| 65 63 74 0d 0a 09 6e 61 | 74 69 76 65 0d 0a 09 6e |ect...na|tive...n|
|00000130| 6f 65 78 70 6f 72 74 3b | 0d 0a 0d 0a 2f 2f 3d 3d |oexport;|....//==|
|00000140| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000150| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000160| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000170| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000180| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 0a 2f 2f 20 |========|===..// |
|00000190| 55 4f 62 6a 65 63 74 20 | 76 61 72 69 61 62 6c 65 |UObject |variable|
|000001a0| 73 2e 0d 0a 0d 0a 2f 2f | 20 49 6e 74 65 72 6e 61 |s.....//| Interna|
|000001b0| 6c 20 76 61 72 69 61 62 | 6c 65 73 2e 0d 0a 76 61 |l variab|les...va|
|000001c0| 72 20 6e 61 74 69 76 65 | 20 70 72 69 76 61 74 65 |r native| private|
|000001d0| 20 63 6f 6e 73 74 20 69 | 6e 74 20 4f 62 6a 65 63 | const i|nt Objec|
|000001e0| 74 49 6e 74 65 72 6e 61 | 6c 5b 36 5d 3b 0d 0a 76 |tInterna|l[6];..v|
|000001f0| 61 72 20 6e 61 74 69 76 | 65 20 63 6f 6e 73 74 20 |ar nativ|e const |
|00000200| 6f 62 6a 65 63 74 20 4f | 75 74 65 72 3b 0d 0a 76 |object O|uter;..v|
|00000210| 61 72 20 6e 61 74 69 76 | 65 20 63 6f 6e 73 74 20 |ar nativ|e const |
|00000220| 69 6e 74 20 4f 62 6a 65 | 63 74 46 6c 61 67 73 3b |int Obje|ctFlags;|
|00000230| 0d 0a 76 61 72 28 4f 62 | 6a 65 63 74 29 20 6e 61 |..var(Ob|ject) na|
|00000240| 74 69 76 65 20 63 6f 6e | 73 74 20 65 64 69 74 63 |tive con|st editc|
|00000250| 6f 6e 73 74 20 6e 61 6d | 65 20 4e 61 6d 65 3b 0d |onst nam|e Name;.|
|00000260| 0a 76 61 72 20 6e 61 74 | 69 76 65 20 63 6f 6e 73 |.var nat|ive cons|
|00000270| 74 20 65 64 69 74 63 6f | 6e 73 74 20 63 6c 61 73 |t editco|nst clas|
|00000280| 73 20 43 6c 61 73 73 3b | 0d 0a 0d 0a 2f 2f 3d 3d |s Class;|....//==|
|00000290| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000002a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000002b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000002c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000002d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 0a 2f 2f 20 |========|===..// |
|000002e0| 55 6e 72 65 61 6c 20 62 | 61 73 65 20 73 74 72 75 |Unreal b|ase stru|
|000002f0| 63 74 75 72 65 73 2e 0d | 0a 0d 0a 2f 2f 20 4f 62 |ctures..|...// Ob|
|00000300| 6a 65 63 74 20 66 6c 61 | 67 73 2e 0d 0a 63 6f 6e |ject fla|gs...con|
|00000310| 73 74 20 52 46 5f 54 72 | 61 6e 73 61 63 74 69 6f |st RF_Tr|ansactio|
|00000320| 6e 61 6c 09 3d 20 30 78 | 30 30 30 30 30 30 30 31 |nal.= 0x|00000001|
|00000330| 3b 20 2f 2f 20 53 75 70 | 70 6f 72 74 73 20 65 64 |; // Sup|ports ed|
|00000340| 69 74 6f 72 20 75 6e 64 | 6f 2f 72 65 64 6f 2e 0d |itor und|o/redo..|
|00000350| 0a 63 6f 6e 73 74 20 52 | 46 5f 50 75 62 6c 69 63 |.const R|F_Public|
|00000360| 20 20 20 20 20 20 20 20 | 20 3d 20 30 78 30 30 30 | | = 0x000|
|00000370| 30 30 30 30 34 3b 20 2f | 2f 20 43 61 6e 20 62 65 |00004; /|/ Can be|
|00000380| 20 72 65 66 65 72 65 6e | 63 65 64 20 62 79 20 65 | referen|ced by e|
|00000390| 78 74 65 72 6e 61 6c 20 | 70 61 63 6b 61 67 65 20 |xternal |package |
|000003a0| 66 69 6c 65 73 2e 0d 0a | 63 6f 6e 73 74 20 52 46 |files...|const RF|
|000003b0| 5f 54 72 61 6e 73 69 65 | 6e 74 20 20 20 20 20 20 |_Transie|nt |
|000003c0| 3d 20 30 78 30 30 30 30 | 34 30 30 30 3b 20 2f 2f |= 0x0000|4000; //|
|000003d0| 20 43 61 6e 27 74 20 62 | 65 20 73 61 76 65 64 20 | Can't b|e saved |
|000003e0| 6f 72 20 6c 6f 61 64 65 | 64 2e 0d 0a 63 6f 6e 73 |or loade|d...cons|
|000003f0| 74 20 52 46 5f 4e 6f 74 | 46 6f 72 43 6c 69 65 6e |t RF_Not|ForClien|
|00000400| 74 09 3d 20 30 78 30 30 | 31 30 30 30 30 30 3b 20 |t.= 0x00|100000; |
|00000410| 2f 2f 20 44 6f 6e 27 74 | 20 6c 6f 61 64 20 66 6f |// Don't| load fo|
|00000420| 72 20 67 61 6d 65 20 63 | 6c 69 65 6e 74 2e 0d 0a |r game c|lient...|
|00000430| 63 6f 6e 73 74 20 52 46 | 5f 4e 6f 74 46 6f 72 53 |const RF|_NotForS|
|00000440| 65 72 76 65 72 09 3d 20 | 30 78 30 30 32 30 30 30 |erver.= |0x002000|
|00000450| 30 30 3b 20 2f 2f 20 44 | 6f 6e 27 74 20 6c 6f 61 |00; // D|on't loa|
|00000460| 64 20 66 6f 72 20 67 61 | 6d 65 20 73 65 72 76 65 |d for ga|me serve|
|00000470| 72 2e 0d 0a 63 6f 6e 73 | 74 20 52 46 5f 4e 6f 74 |r...cons|t RF_Not|
|00000480| 46 6f 72 45 64 69 74 09 | 09 3d 20 30 78 30 30 34 |ForEdit.|.= 0x004|
|00000490| 30 30 30 30 30 3b 20 2f | 2f 20 44 6f 6e 27 74 20 |00000; /|/ Don't |
|000004a0| 6c 6f 61 64 20 66 6f 72 | 20 65 64 69 74 6f 72 2e |load for| editor.|
|000004b0| 0d 0a 0d 0a 2f 2f 20 41 | 20 67 6c 6f 62 61 6c 6c |....// A| globall|
|000004c0| 79 20 75 6e 69 71 75 65 | 20 69 64 65 6e 74 69 66 |y unique| identif|
|000004d0| 69 65 72 2e 0d 0a 73 74 | 72 75 63 74 20 47 75 69 |ier...st|ruct Gui|
|000004e0| 64 0d 0a 7b 0d 0a 09 76 | 61 72 20 69 6e 74 20 41 |d..{...v|ar int A|
|000004f0| 2c 20 42 2c 20 43 2c 20 | 44 3b 0d 0a 7d 3b 0d 0a |, B, C, |D;..};..|
|00000500| 0d 0a 2f 2f 20 41 20 70 | 6f 69 6e 74 20 6f 72 20 |..// A p|oint or |
|00000510| 64 69 72 65 63 74 69 6f | 6e 20 76 65 63 74 6f 72 |directio|n vector|
|00000520| 20 69 6e 20 33 64 20 73 | 70 61 63 65 2e 0d 0a 73 | in 3d s|pace...s|
|00000530| 74 72 75 63 74 20 56 65 | 63 74 6f 72 0d 0a 7b 0d |truct Ve|ctor..{.|
|00000540| 0a 09 76 61 72 28 29 20 | 63 6f 6e 66 69 67 20 66 |..var() |config f|
|00000550| 6c 6f 61 74 20 58 2c 20 | 59 2c 20 5a 3b 0d 0a 7d |loat X, |Y, Z;..}|
|00000560| 3b 0d 0a 0d 0a 2f 2f 20 | 41 20 70 6c 61 6e 65 20 |;....// |A plane |
|00000570| 64 65 66 69 6e 69 74 69 | 6f 6e 20 69 6e 20 33 64 |definiti|on in 3d|
|00000580| 20 73 70 61 63 65 2e 0d | 0a 73 74 72 75 63 74 20 | space..|.struct |
|00000590| 50 6c 61 6e 65 20 65 78 | 74 65 6e 64 73 20 56 65 |Plane ex|tends Ve|
|000005a0| 63 74 6f 72 0d 0a 7b 0d | 0a 09 76 61 72 28 29 20 |ctor..{.|..var() |
|000005b0| 63 6f 6e 66 69 67 20 66 | 6c 6f 61 74 20 57 3b 0d |config f|loat W;.|
|000005c0| 0a 7d 3b 0d 0a 0d 0a 2f | 2f 20 41 6e 20 6f 72 74 |.};..../|/ An ort|
|000005d0| 68 6f 67 6f 6e 61 6c 20 | 72 6f 74 61 74 69 6f 6e |hogonal |rotation|
|000005e0| 20 69 6e 20 33 64 20 73 | 70 61 63 65 2e 0d 0a 73 | in 3d s|pace...s|
|000005f0| 74 72 75 63 74 20 52 6f | 74 61 74 6f 72 0d 0a 7b |truct Ro|tator..{|
|00000600| 0d 0a 09 76 61 72 28 29 | 20 63 6f 6e 66 69 67 20 |...var()| config |
|00000610| 69 6e 74 20 50 69 74 63 | 68 2c 20 59 61 77 2c 20 |int Pitc|h, Yaw, |
|00000620| 52 6f 6c 6c 3b 0d 0a 7d | 3b 0d 0a 0d 0a 2f 2f 20 |Roll;..}|;....// |
|00000630| 41 6e 20 61 72 62 69 74 | 72 61 72 79 20 63 6f 6f |An arbit|rary coo|
|00000640| 72 64 69 6e 61 74 65 20 | 73 79 73 74 65 6d 20 69 |rdinate |system i|
|00000650| 6e 20 33 64 20 73 70 61 | 63 65 2e 0d 0a 73 74 72 |n 3d spa|ce...str|
|00000660| 75 63 74 20 43 6f 6f 72 | 64 73 0d 0a 7b 0d 0a 09 |uct Coor|ds..{...|
|00000670| 76 61 72 28 29 20 63 6f | 6e 66 69 67 20 76 65 63 |var() co|nfig vec|
|00000680| 74 6f 72 20 4f 72 69 67 | 69 6e 2c 20 58 41 78 69 |tor Orig|in, XAxi|
|00000690| 73 2c 20 59 41 78 69 73 | 2c 20 5a 41 78 69 73 3b |s, YAxis|, ZAxis;|
|000006a0| 0d 0a 7d 3b 0d 0a 0d 0a | 2f 2f 20 51 75 61 74 65 |..};....|// Quate|
|000006b0| 72 6e 69 6f 6e 0d 0a 73 | 74 72 75 63 74 20 51 75 |rnion..s|truct Qu|
|000006c0| 61 74 0d 0a 7b 0d 0a 09 | 76 61 72 28 29 20 63 6f |at..{...|var() co|
|000006d0| 6e 66 69 67 20 66 6c 6f | 61 74 20 58 2c 20 59 2c |nfig flo|at X, Y,|
|000006e0| 20 5a 2c 20 57 3b 0d 0a | 7d 3b 0d 0a 0d 0a 2f 2f | Z, W;..|};....//|
|000006f0| 20 55 73 65 64 20 74 6f | 20 67 65 6e 65 72 61 74 | Used to| generat|
|00000700| 65 20 72 61 6e 64 6f 6d | 20 76 61 6c 75 65 73 20 |e random| values |
|00000710| 62 65 74 77 65 65 6e 20 | 4d 69 6e 20 61 6e 64 20 |between |Min and |
|00000720| 4d 61 78 0d 0a 73 74 72 | 75 63 74 20 52 61 6e 67 |Max..str|uct Rang|
|00000730| 65 0d 0a 7b 0d 0a 09 76 | 61 72 28 29 20 63 6f 6e |e..{...v|ar() con|
|00000740| 66 69 67 20 66 6c 6f 61 | 74 20 4d 69 6e 3b 0d 0a |fig floa|t Min;..|
|00000750| 09 76 61 72 28 29 20 63 | 6f 6e 66 69 67 20 66 6c |.var() c|onfig fl|
|00000760| 6f 61 74 20 4d 61 78 3b | 0d 0a 7d 3b 0d 0a 0d 0a |oat Max;|..};....|
|00000770| 2f 2f 20 56 65 63 74 6f | 72 20 6f 66 20 52 61 6e |// Vecto|r of Ran|
|00000780| 67 65 73 0d 0a 73 74 72 | 75 63 74 20 52 61 6e 67 |ges..str|uct Rang|
|00000790| 65 56 65 63 74 6f 72 0d | 0a 7b 0d 0a 09 76 61 72 |eVector.|.{...var|
|000007a0| 28 29 20 63 6f 6e 66 69 | 67 20 72 61 6e 67 65 20 |() confi|g range |
|000007b0| 58 3b 0d 0a 09 76 61 72 | 28 29 20 63 6f 6e 66 69 |X;...var|() confi|
|000007c0| 67 20 72 61 6e 67 65 20 | 59 3b 0d 0a 09 76 61 72 |g range |Y;...var|
|000007d0| 28 29 20 63 6f 6e 66 69 | 67 20 72 61 6e 67 65 20 |() confi|g range |
|000007e0| 5a 3b 0d 0a 7d 3b 0d 0a | 0d 0a 2f 2f 20 41 20 73 |Z;..};..|..// A s|
|000007f0| 63 61 6c 65 20 61 6e 64 | 20 73 68 65 65 72 69 6e |cale and| sheerin|
|00000800| 67 2e 0d 0a 73 74 72 75 | 63 74 20 53 63 61 6c 65 |g...stru|ct Scale|
|00000810| 0d 0a 7b 0d 0a 09 76 61 | 72 28 29 20 63 6f 6e 66 |..{...va|r() conf|
|00000820| 69 67 20 76 65 63 74 6f | 72 20 53 63 61 6c 65 3b |ig vecto|r Scale;|
|00000830| 0d 0a 09 76 61 72 28 29 | 20 63 6f 6e 66 69 67 20 |...var()| config |
|00000840| 66 6c 6f 61 74 20 53 68 | 65 65 72 52 61 74 65 3b |float Sh|eerRate;|
|00000850| 0d 0a 09 76 61 72 28 29 | 20 63 6f 6e 66 69 67 20 |...var()| config |
|00000860| 65 6e 75 6d 20 45 53 68 | 65 65 72 41 78 69 73 0d |enum ESh|eerAxis.|
|00000870| 0a 09 7b 0d 0a 09 09 53 | 48 45 45 52 5f 4e 6f 6e |..{....S|HEER_Non|
|00000880| 65 2c 0d 0a 09 09 53 48 | 45 45 52 5f 58 59 2c 0d |e,....SH|EER_XY,.|
|00000890| 0a 09 09 53 48 45 45 52 | 5f 58 5a 2c 0d 0a 09 09 |...SHEER|_XZ,....|
|000008a0| 53 48 45 45 52 5f 59 58 | 2c 0d 0a 09 09 53 48 45 |SHEER_YX|,....SHE|
|000008b0| 45 52 5f 59 5a 2c 0d 0a | 09 09 53 48 45 45 52 5f |ER_YZ,..|..SHEER_|
|000008c0| 5a 58 2c 0d 0a 09 09 53 | 48 45 45 52 5f 5a 59 2c |ZX,....S|HEER_ZY,|
|000008d0| 0d 0a 09 7d 20 53 68 65 | 65 72 41 78 69 73 3b 0d |...} She|erAxis;.|
|000008e0| 0a 7d 3b 0d 0a 0d 0a 2f | 2f 20 43 61 6d 65 72 61 |.};..../|/ Camera|
|000008f0| 20 6f 72 69 65 6e 74 61 | 74 69 6f 6e 73 20 66 6f | orienta|tions fo|
|00000900| 72 20 4d 61 74 69 6e 65 | 65 0d 0a 65 6e 75 6d 20 |r Matine|e..enum |
|00000910| 45 43 61 6d 4f 72 69 65 | 6e 74 61 74 69 6f 6e 0d |ECamOrie|ntation.|
|00000920| 0a 7b 0d 0a 09 43 41 4d | 4f 52 49 45 4e 54 5f 4e |.{...CAM|ORIENT_N|
|00000930| 6f 6e 65 2c 0d 0a 09 43 | 41 4d 4f 52 49 45 4e 54 |one,...C|AMORIENT|
|00000940| 5f 4c 6f 6f 6b 41 74 41 | 63 74 6f 72 2c 0d 0a 09 |_LookAtA|ctor,...|
|00000950| 43 41 4d 4f 52 49 45 4e | 54 5f 46 61 63 65 50 61 |CAMORIEN|T_FacePa|
|00000960| 74 68 2c 0d 0a 09 43 41 | 4d 4f 52 49 45 4e 54 5f |th,...CA|MORIENT_|
|00000970| 49 6e 74 65 72 70 6f 6c | 61 74 65 2c 0d 0a 09 43 |Interpol|ate,...C|
|00000980| 41 4d 4f 52 49 45 4e 54 | 5f 44 6f 6c 6c 79 2c 0d |AMORIENT|_Dolly,.|
|00000990| 0a 7d 3b 0d 0a 0d 0a 2f | 2f 20 47 65 6e 65 72 69 |.};..../|/ Generi|
|000009a0| 63 20 61 78 69 73 20 65 | 6e 75 6d 2e 0d 0a 65 6e |c axis e|num...en|
|000009b0| 75 6d 20 45 41 78 69 73 | 0d 0a 7b 0d 0a 09 41 58 |um EAxis|..{...AX|
|000009c0| 49 53 5f 58 2c 0d 0a 09 | 41 58 49 53 5f 59 2c 0d |IS_X,...|AXIS_Y,.|
|000009d0| 0a 09 41 58 49 53 5f 5a | 0d 0a 7d 3b 0d 0a 0d 0a |..AXIS_Z|..};....|
|000009e0| 2f 2f 20 41 20 63 6f 6c | 6f 72 2e 0d 0a 73 74 72 |// A col|or...str|
|000009f0| 75 63 74 20 43 6f 6c 6f | 72 0d 0a 7b 0d 0a 09 76 |uct Colo|r..{...v|
|00000a00| 61 72 28 29 20 63 6f 6e | 66 69 67 20 62 79 74 65 |ar() con|fig byte|
|00000a10| 20 42 2c 20 47 2c 20 52 | 2c 20 41 3b 0d 0a 7d 3b | B, G, R|, A;..};|
|00000a20| 0d 0a 0d 0a 2f 2f 20 41 | 20 62 6f 75 6e 64 69 6e |....// A| boundin|
|00000a30| 67 20 62 6f 78 2e 0d 0a | 73 74 72 75 63 74 20 42 |g box...|struct B|
|00000a40| 6f 78 0d 0a 7b 0d 0a 09 | 76 61 72 20 76 65 63 74 |ox..{...|var vect|
|00000a50| 6f 72 20 4d 69 6e 2c 20 | 4d 61 78 3b 0d 0a 09 76 |or Min, |Max;...v|
|00000a60| 61 72 20 62 79 74 65 20 | 49 73 56 61 6c 69 64 3b |ar byte |IsValid;|
|00000a70| 0d 0a 7d 3b 0d 0a 0d 0a | 2f 2f 20 41 20 62 6f 75 |..};....|// A bou|
|00000a80| 6e 64 69 6e 67 20 62 6f | 78 20 73 70 68 65 72 65 |nding bo|x sphere|
|00000a90| 20 74 6f 67 65 74 68 65 | 72 2e 0d 0a 73 74 72 75 | togethe|r...stru|
|00000aa0| 63 74 20 42 6f 75 6e 64 | 69 6e 67 56 6f 6c 75 6d |ct Bound|ingVolum|
|00000ab0| 65 20 65 78 74 65 6e 64 | 73 20 42 6f 78 0d 0a 7b |e extend|s Box..{|
|00000ac0| 0d 0a 09 76 61 72 20 70 | 6c 61 6e 65 20 53 70 68 |...var p|lane Sph|
|00000ad0| 65 72 65 3b 0d 0a 7d 3b | 0d 0a 0d 0a 2f 2f 20 61 |ere;..};|....// a|
|00000ae0| 20 34 78 34 20 6d 61 74 | 72 69 78 0d 0a 73 74 72 | 4x4 mat|rix..str|
|00000af0| 75 63 74 20 4d 61 74 72 | 69 78 0d 0a 7b 0d 0a 09 |uct Matr|ix..{...|
|00000b00| 76 61 72 28 29 20 50 6c | 61 6e 65 20 58 50 6c 61 |var() Pl|ane XPla|
|00000b10| 6e 65 3b 0d 0a 09 76 61 | 72 28 29 20 50 6c 61 6e |ne;...va|r() Plan|
|00000b20| 65 20 59 50 6c 61 6e 65 | 3b 0d 0a 09 76 61 72 28 |e YPlane|;...var(|
|00000b30| 29 20 50 6c 61 6e 65 20 | 5a 50 6c 61 6e 65 3b 0d |) Plane |ZPlane;.|
|00000b40| 0a 09 76 61 72 28 29 20 | 50 6c 61 6e 65 20 57 50 |..var() |Plane WP|
|00000b50| 6c 61 6e 65 3b 0d 0a 7d | 3b 0d 0a 0d 0a 2f 2f 20 |lane;..}|;....// |
|00000b60| 41 20 69 6e 74 65 72 70 | 6f 6c 61 74 65 64 20 66 |A interp|olated f|
|00000b70| 75 6e 63 74 69 6f 6e 0d | 0a 73 74 72 75 63 74 20 |unction.|.struct |
|00000b80| 49 6e 74 65 72 70 43 75 | 72 76 65 50 6f 69 6e 74 |InterpCu|rvePoint|
|00000b90| 0d 0a 7b 0d 0a 09 76 61 | 72 28 29 20 66 6c 6f 61 |..{...va|r() floa|
|00000ba0| 74 20 49 6e 56 61 6c 3b | 0d 0a 09 76 61 72 28 29 |t InVal;|...var()|
|00000bb0| 20 66 6c 6f 61 74 20 4f | 75 74 56 61 6c 3b 0d 0a | float O|utVal;..|
|00000bc0| 7d 3b 0d 0a 0d 0a 73 74 | 72 75 63 74 20 49 6e 74 |};....st|ruct Int|
|00000bd0| 65 72 70 43 75 72 76 65 | 0d 0a 7b 0d 0a 09 76 61 |erpCurve|..{...va|
|00000be0| 72 28 29 20 61 72 72 61 | 79 3c 49 6e 74 65 72 70 |r() arra|y<Interp|
|00000bf0| 43 75 72 76 65 50 6f 69 | 6e 74 3e 09 50 6f 69 6e |CurvePoi|nt>.Poin|
|00000c00| 74 73 3b 0d 0a 7d 3b 0d | 0a 0d 0a 73 74 72 75 63 |ts;..};.|...struc|
|00000c10| 74 20 43 6f 6d 70 72 65 | 73 73 65 64 50 6f 73 69 |t Compre|ssedPosi|
|00000c20| 74 69 6f 6e 0d 0a 7b 0d | 0a 09 76 61 72 20 76 65 |tion..{.|..var ve|
|00000c30| 63 74 6f 72 20 4c 6f 63 | 61 74 69 6f 6e 3b 0d 0a |ctor Loc|ation;..|
|00000c40| 09 76 61 72 20 72 6f 74 | 61 74 6f 72 20 52 6f 74 |.var rot|ator Rot|
|00000c50| 61 74 69 6f 6e 3b 0d 0a | 09 76 61 72 20 76 65 63 |ation;..|.var vec|
|00000c60| 74 6f 72 20 56 65 6c 6f | 63 69 74 79 3b 0d 0a 7d |tor Velo|city;..}|
|00000c70| 3b 0d 0a 0d 0a 2f 2f 3d | 3d 3d 3d 3d 3d 3d 3d 3d |;....//=|========|
|00000c80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000c90| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000ca0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000cb0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000cc0| 3d 3d 3d 3d 0d 0a 2f 2f | 20 43 6f 6e 73 74 61 6e |====..//| Constan|
|00000cd0| 74 73 2e 0d 0a 0d 0a 63 | 6f 6e 73 74 20 4d 61 78 |ts.....c|onst Max|
|00000ce0| 49 6e 74 20 3d 20 30 78 | 37 66 66 66 66 66 66 66 |Int = 0x|7fffffff|
|00000cf0| 3b 0d 0a 63 6f 6e 73 74 | 20 50 69 20 20 20 20 20 |;..const| Pi |
|00000d00| 3d 20 33 2e 31 34 31 35 | 39 32 36 35 33 35 38 39 |= 3.1415|92653589|
|00000d10| 37 39 33 32 3b 0d 0a 0d | 0a 2f 2f 3d 3d 3d 3d 3d |7932;...|.//=====|
|00000d20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d60| 3d 3d 3d 3d 3d 3d 3d 3d | 0d 0a 2f 2f 20 42 61 73 |========|..// Bas|
|00000d70| 69 63 20 6e 61 74 69 76 | 65 20 6f 70 65 72 61 74 |ic nativ|e operat|
|00000d80| 6f 72 73 20 61 6e 64 20 | 66 75 6e 63 74 69 6f 6e |ors and |function|
|00000d90| 73 2e 0d 0a 0d 0a 2f 2f | 20 42 6f 6f 6c 20 6f 70 |s.....//| Bool op|
|00000da0| 65 72 61 74 6f 72 73 2e | 0d 0a 6e 61 74 69 76 65 |erators.|..native|
|00000db0| 28 31 32 39 29 20 73 74 | 61 74 69 63 20 66 69 6e |(129) st|atic fin|
|00000dc0| 61 6c 20 70 72 65 6f 70 | 65 72 61 74 6f 72 20 20 |al preop|erator |
|00000dd0| 62 6f 6f 6c 20 20 21 20 | 20 28 20 62 6f 6f 6c 20 |bool ! | ( bool |
|00000de0| 41 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 32 34 32 |A );..na|tive(242|
|00000df0| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 6f |) static| final o|
|00000e00| 70 65 72 61 74 6f 72 28 | 32 34 29 20 62 6f 6f 6c |perator(|24) bool|
|00000e10| 20 20 3d 3d 20 28 20 62 | 6f 6f 6c 20 41 2c 20 62 | == ( b|ool A, b|
|00000e20| 6f 6f 6c 20 42 20 29 3b | 0d 0a 6e 61 74 69 76 65 |ool B );|..native|
|00000e30| 28 32 34 33 29 20 73 74 | 61 74 69 63 20 66 69 6e |(243) st|atic fin|
|00000e40| 61 6c 20 6f 70 65 72 61 | 74 6f 72 28 32 36 29 20 |al opera|tor(26) |
|00000e50| 62 6f 6f 6c 20 20 21 3d | 20 28 20 62 6f 6f 6c 20 |bool !=| ( bool |
|00000e60| 41 2c 20 62 6f 6f 6c 20 | 42 20 29 3b 0d 0a 6e 61 |A, bool |B );..na|
|00000e70| 74 69 76 65 28 31 33 30 | 29 20 73 74 61 74 69 63 |tive(130|) static|
|00000e80| 20 66 69 6e 61 6c 20 6f | 70 65 72 61 74 6f 72 28 | final o|perator(|
|00000e90| 33 30 29 20 62 6f 6f 6c | 20 20 26 26 20 28 20 62 |30) bool| && ( b|
|00000ea0| 6f 6f 6c 20 41 2c 20 73 | 6b 69 70 20 62 6f 6f 6c |ool A, s|kip bool|
|00000eb0| 20 42 20 29 3b 0d 0a 6e | 61 74 69 76 65 28 31 33 | B );..n|ative(13|
|00000ec0| 31 29 20 73 74 61 74 69 | 63 20 66 69 6e 61 6c 20 |1) stati|c final |
|00000ed0| 6f 70 65 72 61 74 6f 72 | 28 33 30 29 20 62 6f 6f |operator|(30) boo|
|00000ee0| 6c 20 20 5e 5e 20 28 20 | 62 6f 6f 6c 20 41 2c 20 |l ^^ ( |bool A, |
|00000ef0| 62 6f 6f 6c 20 42 20 29 | 3b 0d 0a 6e 61 74 69 76 |bool B )|;..nativ|
|00000f00| 65 28 31 33 32 29 20 73 | 74 61 74 69 63 20 66 69 |e(132) s|tatic fi|
|00000f10| 6e 61 6c 20 6f 70 65 72 | 61 74 6f 72 28 33 32 29 |nal oper|ator(32)|
|00000f20| 20 62 6f 6f 6c 20 20 7c | 7c 20 28 20 62 6f 6f 6c | bool ||| ( bool|
|00000f30| 20 41 2c 20 73 6b 69 70 | 20 62 6f 6f 6c 20 42 20 | A, skip| bool B |
|00000f40| 29 3b 0d 0a 0d 0a 2f 2f | 20 42 79 74 65 20 6f 70 |);....//| Byte op|
|00000f50| 65 72 61 74 6f 72 73 2e | 0d 0a 6e 61 74 69 76 65 |erators.|..native|
|00000f60| 28 31 33 33 29 20 73 74 | 61 74 69 63 20 66 69 6e |(133) st|atic fin|
|00000f70| 61 6c 20 6f 70 65 72 61 | 74 6f 72 28 33 34 29 20 |al opera|tor(34) |
|00000f80| 62 79 74 65 20 2a 3d 20 | 28 20 6f 75 74 20 62 79 |byte *= |( out by|
|00000f90| 74 65 20 41 2c 20 62 79 | 74 65 20 42 20 29 3b 0d |te A, by|te B );.|
|00000fa0| 0a 6e 61 74 69 76 65 28 | 31 33 34 29 20 73 74 61 |.native(|134) sta|
|00000fb0| 74 69 63 20 66 69 6e 61 | 6c 20 6f 70 65 72 61 74 |tic fina|l operat|
|00000fc0| 6f 72 28 33 34 29 20 62 | 79 74 65 20 2f 3d 20 28 |or(34) b|yte /= (|
|00000fd0| 20 6f 75 74 20 62 79 74 | 65 20 41 2c 20 62 79 74 | out byt|e A, byt|
|00000fe0| 65 20 42 20 29 3b 0d 0a | 6e 61 74 69 76 65 28 31 |e B );..|native(1|
|00000ff0| 33 35 29 20 73 74 61 74 | 69 63 20 66 69 6e 61 6c |35) stat|ic final|
|00001000| 20 6f 70 65 72 61 74 6f | 72 28 33 34 29 20 62 79 | operato|r(34) by|
|00001010| 74 65 20 2b 3d 20 28 20 | 6f 75 74 20 62 79 74 65 |te += ( |out byte|
|00001020| 20 41 2c 20 62 79 74 65 | 20 42 20 29 3b 0d 0a 6e | A, byte| B );..n|
|00001030| 61 74 69 76 65 28 31 33 | 36 29 20 73 74 61 74 69 |ative(13|6) stati|
|00001040| 63 20 66 69 6e 61 6c 20 | 6f 70 65 72 61 74 6f 72 |c final |operator|
|00001050| 28 33 34 29 20 62 79 74 | 65 20 2d 3d 20 28 20 6f |(34) byt|e -= ( o|
|00001060| 75 74 20 62 79 74 65 20 | 41 2c 20 62 79 74 65 20 |ut byte |A, byte |
|00001070| 42 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 31 33 37 |B );..na|tive(137|
|00001080| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 70 |) static| final p|
|00001090| 72 65 6f 70 65 72 61 74 | 6f 72 20 20 62 79 74 65 |reoperat|or byte|
|000010a0| 20 2b 2b 20 28 20 6f 75 | 74 20 62 79 74 65 20 41 | ++ ( ou|t byte A|
|000010b0| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 28 31 33 38 29 | );..nat|ive(138)|
|000010c0| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 70 72 | static |final pr|
|000010d0| 65 6f 70 65 72 61 74 6f | 72 20 20 62 79 74 65 20 |eoperato|r byte |
|000010e0| 2d 2d 20 28 20 6f 75 74 | 20 62 79 74 65 20 41 20 |-- ( out| byte A |
|000010f0| 29 3b 0d 0a 6e 61 74 69 | 76 65 28 31 33 39 29 20 |);..nati|ve(139) |
|00001100| 73 74 61 74 69 63 20 66 | 69 6e 61 6c 20 70 6f 73 |static f|inal pos|
|00001110| 74 6f 70 65 72 61 74 6f | 72 20 62 79 74 65 20 2b |toperato|r byte +|
|00001120| 2b 20 28 20 6f 75 74 20 | 62 79 74 65 20 41 20 29 |+ ( out |byte A )|
|00001130| 3b 0d 0a 6e 61 74 69 76 | 65 28 31 34 30 29 20 73 |;..nativ|e(140) s|
|00001140| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 70 6f 73 74 |tatic fi|nal post|
|00001150| 6f 70 65 72 61 74 6f 72 | 20 62 79 74 65 20 2d 2d |operator| byte --|
|00001160| 20 28 20 6f 75 74 20 62 | 79 74 65 20 41 20 29 3b | ( out b|yte A );|
|00001170| 0d 0a 0d 0a 2f 2f 20 49 | 6e 74 65 67 65 72 20 6f |....// I|nteger o|
|00001180| 70 65 72 61 74 6f 72 73 | 2e 0d 0a 6e 61 74 69 76 |perators|...nativ|
|00001190| 65 28 31 34 31 29 20 73 | 74 61 74 69 63 20 66 69 |e(141) s|tatic fi|
|000011a0| 6e 61 6c 20 70 72 65 6f | 70 65 72 61 74 6f 72 20 |nal preo|perator |
|000011b0| 20 69 6e 74 20 20 7e 20 | 20 28 20 69 6e 74 20 41 | int ~ | ( int A|
|000011c0| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 28 31 34 33 29 | );..nat|ive(143)|
|000011d0| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 70 72 | static |final pr|
|000011e0| 65 6f 70 65 72 61 74 6f | 72 20 20 69 6e 74 20 20 |eoperato|r int |
|000011f0| 2d 20 20 28 20 69 6e 74 | 20 41 20 29 3b 0d 0a 6e |- ( int| A );..n|
|00001200| 61 74 69 76 65 28 31 34 | 34 29 20 73 74 61 74 69 |ative(14|4) stati|
|00001210| 63 20 66 69 6e 61 6c 20 | 6f 70 65 72 61 74 6f 72 |c final |operator|
|00001220| 28 31 36 29 20 69 6e 74 | 20 20 2a 20 20 28 20 69 |(16) int| * ( i|
|00001230| 6e 74 20 41 2c 20 69 6e | 74 20 42 20 29 3b 0d 0a |nt A, in|t B );..|
|00001240| 6e 61 74 69 76 65 28 31 | 34 35 29 20 73 74 61 74 |native(1|45) stat|
|00001250| 69 63 20 66 69 6e 61 6c | 20 6f 70 65 72 61 74 6f |ic final| operato|
|00001260| 72 28 31 36 29 20 69 6e | 74 20 20 2f 20 20 28 20 |r(16) in|t / ( |
|00001270| 69 6e 74 20 41 2c 20 69 | 6e 74 20 42 20 29 3b 0d |int A, i|nt B );.|
|00001280| 0a 6e 61 74 69 76 65 28 | 31 34 36 29 20 73 74 61 |.native(|146) sta|
|00001290| 74 69 63 20 66 69 6e 61 | 6c 20 6f 70 65 72 61 74 |tic fina|l operat|
|000012a0| 6f 72 28 32 30 29 20 69 | 6e 74 20 20 2b 20 20 28 |or(20) i|nt + (|
|000012b0| 20 69 6e 74 20 41 2c 20 | 69 6e 74 20 42 20 29 3b | int A, |int B );|
|000012c0| 0d 0a 6e 61 74 69 76 65 | 28 31 34 37 29 20 73 74 |..native|(147) st|
|000012d0| 61 74 69 63 20 66 69 6e | 61 6c 20 6f 70 65 72 61 |atic fin|al opera|
|000012e0| 74 6f 72 28 32 30 29 20 | 69 6e 74 20 20 2d 20 20 |tor(20) |int - |
|000012f0| 28 20 69 6e 74 20 41 2c | 20 69 6e 74 20 42 20 29 |( int A,| int B )|
|00001300| 3b 0d 0a 6e 61 74 69 76 | 65 28 31 34 38 29 20 73 |;..nativ|e(148) s|
|00001310| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 6f 70 65 72 |tatic fi|nal oper|
|00001320| 61 74 6f 72 28 32 32 29 | 20 69 6e 74 20 20 3c 3c |ator(22)| int <<|
|00001330| 20 28 20 69 6e 74 20 41 | 2c 20 69 6e 74 20 42 20 | ( int A|, int B |
|00001340| 29 3b 0d 0a 6e 61 74 69 | 76 65 28 31 34 39 29 20 |);..nati|ve(149) |
|00001350| 73 74 61 74 69 63 20 66 | 69 6e 61 6c 20 6f 70 65 |static f|inal ope|
|00001360| 72 61 74 6f 72 28 32 32 | 29 20 69 6e 74 20 20 3e |rator(22|) int >|
|00001370| 3e 20 28 20 69 6e 74 20 | 41 2c 20 69 6e 74 20 42 |> ( int |A, int B|
|00001380| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 28 31 39 36 29 | );..nat|ive(196)|
|00001390| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 6f 70 | static |final op|
|000013a0| 65 72 61 74 6f 72 28 32 | 32 29 20 69 6e 74 20 20 |erator(2|2) int |
|000013b0| 3e 3e 3e 28 20 69 6e 74 | 20 41 2c 20 69 6e 74 20 |>>>( int| A, int |
|000013c0| 42 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 31 35 30 |B );..na|tive(150|
|000013d0| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 6f |) static| final o|
|000013e0| 70 65 72 61 74 6f 72 28 | 32 34 29 20 62 6f 6f 6c |perator(|24) bool|
|000013f0| 20 3c 20 20 28 20 69 6e | 74 20 41 2c 20 69 6e 74 | < ( in|t A, int|
|00001400| 20 42 20 29 3b 0d 0a 6e | 61 74 69 76 65 28 31 35 | B );..n|ative(15|
|00001410| 31 29 20 73 74 61 74 69 | 63 20 66 69 6e 61 6c 20 |1) stati|c final |
|00001420| 6f 70 65 72 61 74 6f 72 | 28 32 34 29 20 62 6f 6f |operator|(24) boo|
|00001430| 6c 20 3e 20 20 28 20 69 | 6e 74 20 41 2c 20 69 6e |l > ( i|nt A, in|
|00001440| 74 20 42 20 29 3b 0d 0a | 6e 61 74 69 76 65 28 31 |t B );..|native(1|
|00001450| 35 32 29 20 73 74 61 74 | 69 63 20 66 69 6e 61 6c |52) stat|ic final|
|00001460| 20 6f 70 65 72 61 74 6f | 72 28 32 34 29 20 62 6f | operato|r(24) bo|
|00001470| 6f 6c 20 3c 3d 20 28 20 | 69 6e 74 20 41 2c 20 69 |ol <= ( |int A, i|
|00001480| 6e 74 20 42 20 29 3b 0d | 0a 6e 61 74 69 76 65 28 |nt B );.|.native(|
|00001490| 31 35 33 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |153) sta|tic fina|
|000014a0| 6c 20 6f 70 65 72 61 74 | 6f 72 28 32 34 29 20 62 |l operat|or(24) b|
|000014b0| 6f 6f 6c 20 3e 3d 20 28 | 20 69 6e 74 20 41 2c 20 |ool >= (| int A, |
|000014c0| 69 6e 74 20 42 20 29 3b | 0d 0a 6e 61 74 69 76 65 |int B );|..native|
|000014d0| 28 31 35 34 29 20 73 74 | 61 74 69 63 20 66 69 6e |(154) st|atic fin|
|000014e0| 61 6c 20 6f 70 65 72 61 | 74 6f 72 28 32 34 29 20 |al opera|tor(24) |
|000014f0| 62 6f 6f 6c 20 3d 3d 20 | 28 20 69 6e 74 20 41 2c |bool == |( int A,|
|00001500| 20 69 6e 74 20 42 20 29 | 3b 0d 0a 6e 61 74 69 76 | int B )|;..nativ|
|00001510| 65 28 31 35 35 29 20 73 | 74 61 74 69 63 20 66 69 |e(155) s|tatic fi|
|00001520| 6e 61 6c 20 6f 70 65 72 | 61 74 6f 72 28 32 36 29 |nal oper|ator(26)|
|00001530| 20 62 6f 6f 6c 20 21 3d | 20 28 20 69 6e 74 20 41 | bool !=| ( int A|
|00001540| 2c 20 69 6e 74 20 42 20 | 29 3b 0d 0a 6e 61 74 69 |, int B |);..nati|
|00001550| 76 65 28 31 35 36 29 20 | 73 74 61 74 69 63 20 66 |ve(156) |static f|
|00001560| 69 6e 61 6c 20 6f 70 65 | 72 61 74 6f 72 28 32 38 |inal ope|rator(28|
|00001570| 29 20 69 6e 74 20 20 26 | 20 20 28 20 69 6e 74 20 |) int &| ( int |
|00001580| 41 2c 20 69 6e 74 20 42 | 20 29 3b 0d 0a 6e 61 74 |A, int B| );..nat|
|00001590| 69 76 65 28 31 35 37 29 | 20 73 74 61 74 69 63 20 |ive(157)| static |
|000015a0| 66 69 6e 61 6c 20 6f 70 | 65 72 61 74 6f 72 28 32 |final op|erator(2|
|000015b0| 38 29 20 69 6e 74 20 20 | 5e 20 20 28 20 69 6e 74 |8) int |^ ( int|
|000015c0| 20 41 2c 20 69 6e 74 20 | 42 20 29 3b 0d 0a 6e 61 | A, int |B );..na|
|000015d0| 74 69 76 65 28 31 35 38 | 29 20 73 74 61 74 69 63 |tive(158|) static|
|000015e0| 20 66 69 6e 61 6c 20 6f | 70 65 72 61 74 6f 72 28 | final o|perator(|
|000015f0| 32 38 29 20 69 6e 74 20 | 20 7c 20 20 28 20 69 6e |28) int | | ( in|
|00001600| 74 20 41 2c 20 69 6e 74 | 20 42 20 29 3b 0d 0a 6e |t A, int| B );..n|
|00001610| 61 74 69 76 65 28 31 35 | 39 29 20 73 74 61 74 69 |ative(15|9) stati|
|00001620| 63 20 66 69 6e 61 6c 20 | 6f 70 65 72 61 74 6f 72 |c final |operator|
|00001630| 28 33 34 29 20 69 6e 74 | 20 20 2a 3d 20 28 20 6f |(34) int| *= ( o|
|00001640| 75 74 20 69 6e 74 20 41 | 2c 20 66 6c 6f 61 74 20 |ut int A|, float |
|00001650| 42 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 31 36 30 |B );..na|tive(160|
|00001660| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 6f |) static| final o|
|00001670| 70 65 72 61 74 6f 72 28 | 33 34 29 20 69 6e 74 20 |perator(|34) int |
|00001680| 20 2f 3d 20 28 20 6f 75 | 74 20 69 6e 74 20 41 2c | /= ( ou|t int A,|
|00001690| 20 66 6c 6f 61 74 20 42 | 20 29 3b 0d 0a 6e 61 74 | float B| );..nat|
|000016a0| 69 76 65 28 31 36 31 29 | 20 73 74 61 74 69 63 20 |ive(161)| static |
|000016b0| 66 69 6e 61 6c 20 6f 70 | 65 72 61 74 6f 72 28 33 |final op|erator(3|
|000016c0| 34 29 20 69 6e 74 20 20 | 2b 3d 20 28 20 6f 75 74 |4) int |+= ( out|
|000016d0| 20 69 6e 74 20 41 2c 20 | 69 6e 74 20 42 20 29 3b | int A, |int B );|
|000016e0| 0d 0a 6e 61 74 69 76 65 | 28 31 36 32 29 20 73 74 |..native|(162) st|
|000016f0| 61 74 69 63 20 66 69 6e | 61 6c 20 6f 70 65 72 61 |atic fin|al opera|
|00001700| 74 6f 72 28 33 34 29 20 | 69 6e 74 20 20 2d 3d 20 |tor(34) |int -= |
|00001710| 28 20 6f 75 74 20 69 6e | 74 20 41 2c 20 69 6e 74 |( out in|t A, int|
|00001720| 20 42 20 29 3b 0d 0a 6e | 61 74 69 76 65 28 31 36 | B );..n|ative(16|
|00001730| 33 29 20 73 74 61 74 69 | 63 20 66 69 6e 61 6c 20 |3) stati|c final |
|00001740| 70 72 65 6f 70 65 72 61 | 74 6f 72 20 20 69 6e 74 |preopera|tor int|
|00001750| 20 20 2b 2b 20 28 20 6f | 75 74 20 69 6e 74 20 41 | ++ ( o|ut int A|
|00001760| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 28 31 36 34 29 | );..nat|ive(164)|
|00001770| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 70 72 | static |final pr|
|00001780| 65 6f 70 65 72 61 74 6f | 72 20 20 69 6e 74 20 20 |eoperato|r int |
|00001790| 2d 2d 20 28 20 6f 75 74 | 20 69 6e 74 20 41 20 29 |-- ( out| int A )|
|000017a0| 3b 0d 0a 6e 61 74 69 76 | 65 28 31 36 35 29 20 73 |;..nativ|e(165) s|
|000017b0| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 70 6f 73 74 |tatic fi|nal post|
|000017c0| 6f 70 65 72 61 74 6f 72 | 20 69 6e 74 20 20 2b 2b |operator| int ++|
|000017d0| 20 28 20 6f 75 74 20 69 | 6e 74 20 41 20 29 3b 0d | ( out i|nt A );.|
|000017e0| 0a 6e 61 74 69 76 65 28 | 31 36 36 29 20 73 74 61 |.native(|166) sta|
|000017f0| 74 69 63 20 66 69 6e 61 | 6c 20 70 6f 73 74 6f 70 |tic fina|l postop|
|00001800| 65 72 61 74 6f 72 20 69 | 6e 74 20 20 2d 2d 20 28 |erator i|nt -- (|
|00001810| 20 6f 75 74 20 69 6e 74 | 20 41 20 29 3b 0d 0a 0d | out int| A );...|
|00001820| 0a 2f 2f 20 49 6e 74 65 | 67 65 72 20 66 75 6e 63 |.// Inte|ger func|
|00001830| 74 69 6f 6e 73 2e 0d 0a | 6e 61 74 69 76 65 28 31 |tions...|native(1|
|00001840| 36 37 29 20 73 74 61 74 | 69 63 20 66 69 6e 61 6c |67) stat|ic final|
|00001850| 20 46 75 6e 63 74 69 6f | 6e 20 20 20 20 20 69 6e | Functio|n in|
|00001860| 74 20 20 52 61 6e 64 20 | 20 28 20 69 6e 74 20 4d |t Rand | ( int M|
|00001870| 61 78 20 29 3b 0d 0a 6e | 61 74 69 76 65 28 32 34 |ax );..n|ative(24|
|00001880| 39 29 20 73 74 61 74 69 | 63 20 66 69 6e 61 6c 20 |9) stati|c final |
|00001890| 66 75 6e 63 74 69 6f 6e | 20 20 20 20 20 69 6e 74 |function| int|
|000018a0| 20 20 4d 69 6e 20 20 20 | 28 20 69 6e 74 20 41 2c | Min |( int A,|
|000018b0| 20 69 6e 74 20 42 20 29 | 3b 0d 0a 6e 61 74 69 76 | int B )|;..nativ|
|000018c0| 65 28 32 35 30 29 20 73 | 74 61 74 69 63 20 66 69 |e(250) s|tatic fi|
|000018d0| 6e 61 6c 20 66 75 6e 63 | 74 69 6f 6e 20 20 20 20 |nal func|tion |
|000018e0| 20 69 6e 74 20 20 4d 61 | 78 20 20 20 28 20 69 6e | int Ma|x ( in|
|000018f0| 74 20 41 2c 20 69 6e 74 | 20 42 20 29 3b 0d 0a 6e |t A, int| B );..n|
|00001900| 61 74 69 76 65 28 32 35 | 31 29 20 73 74 61 74 69 |ative(25|1) stati|
|00001910| 63 20 66 69 6e 61 6c 20 | 66 75 6e 63 74 69 6f 6e |c final |function|
|00001920| 20 20 20 20 20 69 6e 74 | 20 20 43 6c 61 6d 70 20 | int| Clamp |
|00001930| 28 20 69 6e 74 20 56 2c | 20 69 6e 74 20 41 2c 20 |( int V,| int A, |
|00001940| 69 6e 74 20 42 20 29 3b | 0d 0a 0d 0a 2f 2f 20 46 |int B );|....// F|
|00001950| 6c 6f 61 74 20 6f 70 65 | 72 61 74 6f 72 73 2e 0d |loat ope|rators..|
|00001960| 0a 6e 61 74 69 76 65 28 | 31 36 39 29 20 73 74 61 |.native(|169) sta|
|00001970| 74 69 63 20 66 69 6e 61 | 6c 20 70 72 65 6f 70 65 |tic fina|l preope|
|00001980| 72 61 74 6f 72 20 20 66 | 6c 6f 61 74 20 2d 20 20 |rator f|loat - |
|00001990| 28 20 66 6c 6f 61 74 20 | 41 20 29 3b 0d 0a 6e 61 |( float |A );..na|
|000019a0| 74 69 76 65 28 31 37 30 | 29 20 73 74 61 74 69 63 |tive(170|) static|
|000019b0| 20 66 69 6e 61 6c 20 6f | 70 65 72 61 74 6f 72 28 | final o|perator(|
|000019c0| 31 32 29 20 66 6c 6f 61 | 74 20 2a 2a 20 28 20 66 |12) floa|t ** ( f|
|000019d0| 6c 6f 61 74 20 41 2c 20 | 66 6c 6f 61 74 20 42 20 |loat A, |float B |
|000019e0| 29 3b 0d 0a 6e 61 74 69 | 76 65 28 31 37 31 29 20 |);..nati|ve(171) |
|000019f0| 73 74 61 74 69 63 20 66 | 69 6e 61 6c 20 6f 70 65 |static f|inal ope|
|00001a00| 72 61 74 6f 72 28 31 36 | 29 20 66 6c 6f 61 74 20 |rator(16|) float |
|00001a10| 2a 20 20 28 20 66 6c 6f | 61 74 20 41 2c 20 66 6c |* ( flo|at A, fl|
|00001a20| 6f 61 74 20 42 20 29 3b | 0d 0a 6e 61 74 69 76 65 |oat B );|..native|
|00001a30| 28 31 37 32 29 20 73 74 | 61 74 69 63 20 66 69 6e |(172) st|atic fin|
|00001a40| 61 6c 20 6f 70 65 72 61 | 74 6f 72 28 31 36 29 20 |al opera|tor(16) |
|00001a50| 66 6c 6f 61 74 20 2f 20 | 20 28 20 66 6c 6f 61 74 |float / | ( float|
|00001a60| 20 41 2c 20 66 6c 6f 61 | 74 20 42 20 29 3b 0d 0a | A, floa|t B );..|
|00001a70| 6e 61 74 69 76 65 28 31 | 37 33 29 20 73 74 61 74 |native(1|73) stat|
|00001a80| 69 63 20 66 69 6e 61 6c | 20 6f 70 65 72 61 74 6f |ic final| operato|
|00001a90| 72 28 31 38 29 20 66 6c | 6f 61 74 20 25 20 20 28 |r(18) fl|oat % (|
|00001aa0| 20 66 6c 6f 61 74 20 41 | 2c 20 66 6c 6f 61 74 20 | float A|, float |
|00001ab0| 42 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 31 37 34 |B );..na|tive(174|
|00001ac0| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 6f |) static| final o|
|00001ad0| 70 65 72 61 74 6f 72 28 | 32 30 29 20 66 6c 6f 61 |perator(|20) floa|
|00001ae0| 74 20 2b 20 20 28 20 66 | 6c 6f 61 74 20 41 2c 20 |t + ( f|loat A, |
|00001af0| 66 6c 6f 61 74 20 42 20 | 29 3b 0d 0a 6e 61 74 69 |float B |);..nati|
|00001b00| 76 65 28 31 37 35 29 20 | 73 74 61 74 69 63 20 66 |ve(175) |static f|
|00001b10| 69 6e 61 6c 20 6f 70 65 | 72 61 74 6f 72 28 32 30 |inal ope|rator(20|
|00001b20| 29 20 66 6c 6f 61 74 20 | 2d 20 20 28 20 66 6c 6f |) float |- ( flo|
|00001b30| 61 74 20 41 2c 20 66 6c | 6f 61 74 20 42 20 29 3b |at A, fl|oat B );|
|00001b40| 0d 0a 6e 61 74 69 76 65 | 28 31 37 36 29 20 73 74 |..native|(176) st|
|00001b50| 61 74 69 63 20 66 69 6e | 61 6c 20 6f 70 65 72 61 |atic fin|al opera|
|00001b60| 74 6f 72 28 32 34 29 20 | 62 6f 6f 6c 20 20 3c 20 |tor(24) |bool < |
|00001b70| 20 28 20 66 6c 6f 61 74 | 20 41 2c 20 66 6c 6f 61 | ( float| A, floa|
|00001b80| 74 20 42 20 29 3b 0d 0a | 6e 61 74 69 76 65 28 31 |t B );..|native(1|
|00001b90| 37 37 29 20 73 74 61 74 | 69 63 20 66 69 6e 61 6c |77) stat|ic final|
|00001ba0| 20 6f 70 65 72 61 74 6f | 72 28 32 34 29 20 62 6f | operato|r(24) bo|
|00001bb0| 6f 6c 20 20 3e 20 20 28 | 20 66 6c 6f 61 74 20 41 |ol > (| float A|
|00001bc0| 2c 20 66 6c 6f 61 74 20 | 42 20 29 3b 0d 0a 6e 61 |, float |B );..na|
|00001bd0| 74 69 76 65 28 31 37 38 | 29 20 73 74 61 74 69 63 |tive(178|) static|
|00001be0| 20 66 69 6e 61 6c 20 6f | 70 65 72 61 74 6f 72 28 | final o|perator(|
|00001bf0| 32 34 29 20 62 6f 6f 6c | 20 20 3c 3d 20 28 20 66 |24) bool| <= ( f|
|00001c00| 6c 6f 61 74 20 41 2c 20 | 66 6c 6f 61 74 20 42 20 |loat A, |float B |
|00001c10| 29 3b 0d 0a 6e 61 74 69 | 76 65 28 31 37 39 29 20 |);..nati|ve(179) |
|00001c20| 73 74 61 74 69 63 20 66 | 69 6e 61 6c 20 6f 70 65 |static f|inal ope|
|00001c30| 72 61 74 6f 72 28 32 34 | 29 20 62 6f 6f 6c 20 20 |rator(24|) bool |
|00001c40| 3e 3d 20 28 20 66 6c 6f | 61 74 20 41 2c 20 66 6c |>= ( flo|at A, fl|
|00001c50| 6f 61 74 20 42 20 29 3b | 0d 0a 6e 61 74 69 76 65 |oat B );|..native|
|00001c60| 28 31 38 30 29 20 73 74 | 61 74 69 63 20 66 69 6e |(180) st|atic fin|
|00001c70| 61 6c 20 6f 70 65 72 61 | 74 6f 72 28 32 34 29 20 |al opera|tor(24) |
|00001c80| 62 6f 6f 6c 20 20 3d 3d | 20 28 20 66 6c 6f 61 74 |bool ==| ( float|
|00001c90| 20 41 2c 20 66 6c 6f 61 | 74 20 42 20 29 3b 0d 0a | A, floa|t B );..|
|00001ca0| 6e 61 74 69 76 65 28 32 | 31 30 29 20 73 74 61 74 |native(2|10) stat|
|00001cb0| 69 63 20 66 69 6e 61 6c | 20 6f 70 65 72 61 74 6f |ic final| operato|
|00001cc0| 72 28 32 34 29 20 62 6f | 6f 6c 20 20 7e 3d 20 28 |r(24) bo|ol ~= (|
|00001cd0| 20 66 6c 6f 61 74 20 41 | 2c 20 66 6c 6f 61 74 20 | float A|, float |
|00001ce0| 42 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 31 38 31 |B );..na|tive(181|
|00001cf0| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 6f |) static| final o|
|00001d00| 70 65 72 61 74 6f 72 28 | 32 36 29 20 62 6f 6f 6c |perator(|26) bool|
|00001d10| 20 20 21 3d 20 28 20 66 | 6c 6f 61 74 20 41 2c 20 | != ( f|loat A, |
|00001d20| 66 6c 6f 61 74 20 42 20 | 29 3b 0d 0a 6e 61 74 69 |float B |);..nati|
|00001d30| 76 65 28 31 38 32 29 20 | 73 74 61 74 69 63 20 66 |ve(182) |static f|
|00001d40| 69 6e 61 6c 20 6f 70 65 | 72 61 74 6f 72 28 33 34 |inal ope|rator(34|
|00001d50| 29 20 66 6c 6f 61 74 20 | 2a 3d 20 28 20 6f 75 74 |) float |*= ( out|
|00001d60| 20 66 6c 6f 61 74 20 41 | 2c 20 66 6c 6f 61 74 20 | float A|, float |
|00001d70| 42 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 31 38 33 |B );..na|tive(183|
|00001d80| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 6f |) static| final o|
|00001d90| 70 65 72 61 74 6f 72 28 | 33 34 29 20 66 6c 6f 61 |perator(|34) floa|
|00001da0| 74 20 2f 3d 20 28 20 6f | 75 74 20 66 6c 6f 61 74 |t /= ( o|ut float|
|00001db0| 20 41 2c 20 66 6c 6f 61 | 74 20 42 20 29 3b 0d 0a | A, floa|t B );..|
|00001dc0| 6e 61 74 69 76 65 28 31 | 38 34 29 20 73 74 61 74 |native(1|84) stat|
|00001dd0| 69 63 20 66 69 6e 61 6c | 20 6f 70 65 72 61 74 6f |ic final| operato|
|00001de0| 72 28 33 34 29 20 66 6c | 6f 61 74 20 2b 3d 20 28 |r(34) fl|oat += (|
|00001df0| 20 6f 75 74 20 66 6c 6f | 61 74 20 41 2c 20 66 6c | out flo|at A, fl|
|00001e00| 6f 61 74 20 42 20 29 3b | 0d 0a 6e 61 74 69 76 65 |oat B );|..native|
|00001e10| 28 31 38 35 29 20 73 74 | 61 74 69 63 20 66 69 6e |(185) st|atic fin|
|00001e20| 61 6c 20 6f 70 65 72 61 | 74 6f 72 28 33 34 29 20 |al opera|tor(34) |
|00001e30| 66 6c 6f 61 74 20 2d 3d | 20 28 20 6f 75 74 20 66 |float -=| ( out f|
|00001e40| 6c 6f 61 74 20 41 2c 20 | 66 6c 6f 61 74 20 42 20 |loat A, |float B |
|00001e50| 29 3b 0d 0a 0d 0a 2f 2f | 20 46 6c 6f 61 74 20 66 |);....//| Float f|
|00001e60| 75 6e 63 74 69 6f 6e 73 | 2e 0d 0a 6e 61 74 69 76 |unctions|...nativ|
|00001e70| 65 28 31 38 36 29 20 73 | 74 61 74 69 63 20 66 69 |e(186) s|tatic fi|
|00001e80| 6e 61 6c 20 66 75 6e 63 | 74 69 6f 6e 20 20 20 20 |nal func|tion |
|00001e90| 20 66 6c 6f 61 74 20 41 | 62 73 20 20 20 28 20 66 | float A|bs ( f|
|00001ea0| 6c 6f 61 74 20 41 20 29 | 3b 0d 0a 6e 61 74 69 76 |loat A )|;..nativ|
|00001eb0| 65 28 31 38 37 29 20 73 | 74 61 74 69 63 20 66 69 |e(187) s|tatic fi|
|00001ec0| 6e 61 6c 20 66 75 6e 63 | 74 69 6f 6e 20 20 20 20 |nal func|tion |
|00001ed0| 20 66 6c 6f 61 74 20 53 | 69 6e 20 20 20 28 20 66 | float S|in ( f|
|00001ee0| 6c 6f 61 74 20 41 20 29 | 3b 0d 0a 6e 61 74 69 76 |loat A )|;..nativ|
|00001ef0| 65 20 20 20 20 20 20 73 | 74 61 74 69 63 20 66 69 |e s|tatic fi|
|00001f00| 6e 61 6c 20 66 75 6e 63 | 74 69 6f 6e 09 20 20 66 |nal func|tion. f|
|00001f10| 6c 6f 61 74 20 41 73 69 | 6e 20 20 28 20 66 6c 6f |loat Asi|n ( flo|
|00001f20| 61 74 20 41 20 29 3b 0d | 0a 6e 61 74 69 76 65 28 |at A );.|.native(|
|00001f30| 31 38 38 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |188) sta|tic fina|
|00001f40| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 20 20 20 20 66 |l functi|on f|
|00001f50| 6c 6f 61 74 20 43 6f 73 | 20 20 20 28 20 66 6c 6f |loat Cos| ( flo|
|00001f60| 61 74 20 41 20 29 3b 0d | 0a 6e 61 74 69 76 65 20 |at A );.|.native |
|00001f70| 20 20 20 20 20 73 74 61 | 74 69 63 20 66 69 6e 61 | sta|tic fina|
|00001f80| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 20 20 20 20 66 |l functi|on f|
|00001f90| 6c 6f 61 74 20 41 63 6f | 73 20 20 28 20 66 6c 6f |loat Aco|s ( flo|
|00001fa0| 61 74 20 41 20 29 3b 0d | 0a 6e 61 74 69 76 65 28 |at A );.|.native(|
|00001fb0| 31 38 39 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |189) sta|tic fina|
|00001fc0| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 20 20 20 20 66 |l functi|on f|
|00001fd0| 6c 6f 61 74 20 54 61 6e | 20 20 20 28 20 66 6c 6f |loat Tan| ( flo|
|00001fe0| 61 74 20 41 20 29 3b 0d | 0a 6e 61 74 69 76 65 28 |at A );.|.native(|
|00001ff0| 31 39 30 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |190) sta|tic fina|
|00002000| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 20 20 20 20 66 |l functi|on f|
|00002010| 6c 6f 61 74 20 41 74 61 | 6e 20 20 28 20 66 6c 6f |loat Ata|n ( flo|
|00002020| 61 74 20 41 2c 20 66 6c | 6f 61 74 20 42 20 29 3b |at A, fl|oat B );|
|00002030| 20 0d 0a 6e 61 74 69 76 | 65 28 31 39 31 29 20 73 | ..nativ|e(191) s|
|00002040| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 66 75 6e 63 |tatic fi|nal func|
|00002050| 74 69 6f 6e 20 20 20 20 | 20 66 6c 6f 61 74 20 45 |tion | float E|
|00002060| 78 70 20 20 20 28 20 66 | 6c 6f 61 74 20 41 20 29 |xp ( f|loat A )|
|00002070| 3b 0d 0a 6e 61 74 69 76 | 65 28 31 39 32 29 20 73 |;..nativ|e(192) s|
|00002080| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 66 75 6e 63 |tatic fi|nal func|
|00002090| 74 69 6f 6e 20 20 20 20 | 20 66 6c 6f 61 74 20 4c |tion | float L|
|000020a0| 6f 67 65 20 20 28 20 66 | 6c 6f 61 74 20 41 20 29 |oge ( f|loat A )|
|000020b0| 3b 0d 0a 6e 61 74 69 76 | 65 28 31 39 33 29 20 73 |;..nativ|e(193) s|
|000020c0| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 66 75 6e 63 |tatic fi|nal func|
|000020d0| 74 69 6f 6e 20 20 20 20 | 20 66 6c 6f 61 74 20 53 |tion | float S|
|000020e0| 71 72 74 20 20 28 20 66 | 6c 6f 61 74 20 41 20 29 |qrt ( f|loat A )|
|000020f0| 3b 0d 0a 6e 61 74 69 76 | 65 28 31 39 34 29 20 73 |;..nativ|e(194) s|
|00002100| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 66 75 6e 63 |tatic fi|nal func|
|00002110| 74 69 6f 6e 20 20 20 20 | 20 66 6c 6f 61 74 20 53 |tion | float S|
|00002120| 71 75 61 72 65 28 20 66 | 6c 6f 61 74 20 41 20 29 |quare( f|loat A )|
|00002130| 3b 0d 0a 6e 61 74 69 76 | 65 28 31 39 35 29 20 73 |;..nativ|e(195) s|
|00002140| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 66 75 6e 63 |tatic fi|nal func|
|00002150| 74 69 6f 6e 20 20 20 20 | 20 66 6c 6f 61 74 20 46 |tion | float F|
|00002160| 52 61 6e 64 20 28 29 3b | 0d 0a 6e 61 74 69 76 65 |Rand ();|..native|
|00002170| 28 32 34 34 29 20 73 74 | 61 74 69 63 20 66 69 6e |(244) st|atic fin|
|00002180| 61 6c 20 66 75 6e 63 74 | 69 6f 6e 20 20 20 20 20 |al funct|ion |
|00002190| 66 6c 6f 61 74 20 46 4d | 69 6e 20 20 28 20 66 6c |float FM|in ( fl|
|000021a0| 6f 61 74 20 41 2c 20 66 | 6c 6f 61 74 20 42 20 29 |oat A, f|loat B )|
|000021b0| 3b 0d 0a 6e 61 74 69 76 | 65 28 32 34 35 29 20 73 |;..nativ|e(245) s|
|000021c0| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 66 75 6e 63 |tatic fi|nal func|
|000021d0| 74 69 6f 6e 20 20 20 20 | 20 66 6c 6f 61 74 20 46 |tion | float F|
|000021e0| 4d 61 78 20 20 28 20 66 | 6c 6f 61 74 20 41 2c 20 |Max ( f|loat A, |
|000021f0| 66 6c 6f 61 74 20 42 20 | 29 3b 0d 0a 6e 61 74 69 |float B |);..nati|
|00002200| 76 65 28 32 34 36 29 20 | 73 74 61 74 69 63 20 66 |ve(246) |static f|
|00002210| 69 6e 61 6c 20 66 75 6e | 63 74 69 6f 6e 20 20 20 |inal fun|ction |
|00002220| 20 20 66 6c 6f 61 74 20 | 46 43 6c 61 6d 70 28 20 | float |FClamp( |
|00002230| 66 6c 6f 61 74 20 56 2c | 20 66 6c 6f 61 74 20 41 |float V,| float A|
|00002240| 2c 20 66 6c 6f 61 74 20 | 42 20 29 3b 0d 0a 6e 61 |, float |B );..na|
|00002250| 74 69 76 65 28 32 34 37 | 29 20 73 74 61 74 69 63 |tive(247|) static|
|00002260| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|00002270| 20 20 20 20 66 6c 6f 61 | 74 20 4c 65 72 70 20 20 | floa|t Lerp |
|00002280| 28 20 66 6c 6f 61 74 20 | 41 6c 70 68 61 2c 20 66 |( float |Alpha, f|
|00002290| 6c 6f 61 74 20 41 2c 20 | 66 6c 6f 61 74 20 42 20 |loat A, |float B |
|000022a0| 29 3b 0d 0a 6e 61 74 69 | 76 65 28 32 34 38 29 20 |);..nati|ve(248) |
|000022b0| 73 74 61 74 69 63 20 66 | 69 6e 61 6c 20 66 75 6e |static f|inal fun|
|000022c0| 63 74 69 6f 6e 20 20 20 | 20 20 66 6c 6f 61 74 20 |ction | float |
|000022d0| 53 6d 65 72 70 20 28 20 | 66 6c 6f 61 74 20 41 6c |Smerp ( |float Al|
|000022e0| 70 68 61 2c 20 66 6c 6f | 61 74 20 41 2c 20 66 6c |pha, flo|at A, fl|
|000022f0| 6f 61 74 20 42 20 29 3b | 0d 0a 0d 0a 2f 2f 20 56 |oat B );|....// V|
|00002300| 65 63 74 6f 72 20 6f 70 | 65 72 61 74 6f 72 73 2e |ector op|erators.|
|00002310| 0d 0a 6e 61 74 69 76 65 | 28 32 31 31 29 20 73 74 |..native|(211) st|
|00002320| 61 74 69 63 20 66 69 6e | 61 6c 20 70 72 65 6f 70 |atic fin|al preop|
|00002330| 65 72 61 74 6f 72 20 20 | 76 65 63 74 6f 72 20 2d |erator |vector -|
|00002340| 20 20 20 20 20 28 20 76 | 65 63 74 6f 72 20 41 20 | ( v|ector A |
|00002350| 29 3b 0d 0a 6e 61 74 69 | 76 65 28 32 31 32 29 20 |);..nati|ve(212) |
|00002360| 73 74 61 74 69 63 20 66 | 69 6e 61 6c 20 6f 70 65 |static f|inal ope|
|00002370| 72 61 74 6f 72 28 31 36 | 29 20 76 65 63 74 6f 72 |rator(16|) vector|
|00002380| 20 2a 20 20 20 20 20 28 | 20 76 65 63 74 6f 72 20 | * (| vector |
|00002390| 41 2c 20 66 6c 6f 61 74 | 20 42 20 29 3b 0d 0a 6e |A, float| B );..n|
|000023a0| 61 74 69 76 65 28 32 31 | 33 29 20 73 74 61 74 69 |ative(21|3) stati|
|000023b0| 63 20 66 69 6e 61 6c 20 | 6f 70 65 72 61 74 6f 72 |c final |operator|
|000023c0| 28 31 36 29 20 76 65 63 | 74 6f 72 20 2a 20 20 20 |(16) vec|tor * |
|000023d0| 20 20 28 20 66 6c 6f 61 | 74 20 41 2c 20 76 65 63 | ( floa|t A, vec|
|000023e0| 74 6f 72 20 42 20 29 3b | 0d 0a 6e 61 74 69 76 65 |tor B );|..native|
|000023f0| 28 32 39 36 29 20 73 74 | 61 74 69 63 20 66 69 6e |(296) st|atic fin|
|00002400| 61 6c 20 6f 70 65 72 61 | 74 6f 72 28 31 36 29 20 |al opera|tor(16) |
|00002410| 76 65 63 74 6f 72 20 2a | 20 20 20 20 20 28 20 76 |vector *| ( v|
|00002420| 65 63 74 6f 72 20 41 2c | 20 76 65 63 74 6f 72 20 |ector A,| vector |
|00002430| 42 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 32 31 34 |B );..na|tive(214|
|00002440| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 6f |) static| final o|
|00002450| 70 65 72 61 74 6f 72 28 | 31 36 29 20 76 65 63 74 |perator(|16) vect|
|00002460| 6f 72 20 2f 20 20 20 20 | 20 28 20 76 65 63 74 6f |or / | ( vecto|
|00002470| 72 20 41 2c 20 66 6c 6f | 61 74 20 42 20 29 3b 0d |r A, flo|at B );.|
|00002480| 0a 6e 61 74 69 76 65 28 | 32 31 35 29 20 73 74 61 |.native(|215) sta|
|00002490| 74 69 63 20 66 69 6e 61 | 6c 20 6f 70 65 72 61 74 |tic fina|l operat|
|000024a0| 6f 72 28 32 30 29 20 76 | 65 63 74 6f 72 20 2b 20 |or(20) v|ector + |
|000024b0| 20 20 20 20 28 20 76 65 | 63 74 6f 72 20 41 2c 20 | ( ve|ctor A, |
|000024c0| 76 65 63 74 6f 72 20 42 | 20 29 3b 0d 0a 6e 61 74 |vector B| );..nat|
|000024d0| 69 76 65 28 32 31 36 29 | 20 73 74 61 74 69 63 20 |ive(216)| static |
|000024e0| 66 69 6e 61 6c 20 6f 70 | 65 72 61 74 6f 72 28 32 |final op|erator(2|
|000024f0| 30 29 20 76 65 63 74 6f | 72 20 2d 20 20 20 20 20 |0) vecto|r - |
|00002500| 28 20 76 65 63 74 6f 72 | 20 41 2c 20 76 65 63 74 |( vector| A, vect|
|00002510| 6f 72 20 42 20 29 3b 0d | 0a 6e 61 74 69 76 65 28 |or B );.|.native(|
|00002520| 32 37 35 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |275) sta|tic fina|
|00002530| 6c 20 6f 70 65 72 61 74 | 6f 72 28 32 32 29 20 76 |l operat|or(22) v|
|00002540| 65 63 74 6f 72 20 3c 3c | 20 20 20 20 28 20 76 65 |ector <<| ( ve|
|00002550| 63 74 6f 72 20 41 2c 20 | 72 6f 74 61 74 6f 72 20 |ctor A, |rotator |
|00002560| 42 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 32 37 36 |B );..na|tive(276|
|00002570| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 6f |) static| final o|
|00002580| 70 65 72 61 74 6f 72 28 | 32 32 29 20 76 65 63 74 |perator(|22) vect|
|00002590| 6f 72 20 3e 3e 20 20 20 | 20 28 20 76 65 63 74 6f |or >> | ( vecto|
|000025a0| 72 20 41 2c 20 72 6f 74 | 61 74 6f 72 20 42 20 29 |r A, rot|ator B )|
|000025b0| 3b 0d 0a 6e 61 74 69 76 | 65 28 32 31 37 29 20 73 |;..nativ|e(217) s|
|000025c0| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 6f 70 65 72 |tatic fi|nal oper|
|000025d0| 61 74 6f 72 28 32 34 29 | 20 62 6f 6f 6c 20 20 20 |ator(24)| bool |
|000025e0| 3d 3d 20 20 20 20 28 20 | 76 65 63 74 6f 72 20 41 |== ( |vector A|
|000025f0| 2c 20 76 65 63 74 6f 72 | 20 42 20 29 3b 0d 0a 6e |, vector| B );..n|
|00002600| 61 74 69 76 65 28 32 31 | 38 29 20 73 74 61 74 69 |ative(21|8) stati|
|00002610| 63 20 66 69 6e 61 6c 20 | 6f 70 65 72 61 74 6f 72 |c final |operator|
|00002620| 28 32 36 29 20 62 6f 6f | 6c 20 20 20 21 3d 20 20 |(26) boo|l != |
|00002630| 20 20 28 20 76 65 63 74 | 6f 72 20 41 2c 20 76 65 | ( vect|or A, ve|
|00002640| 63 74 6f 72 20 42 20 29 | 3b 0d 0a 6e 61 74 69 76 |ctor B )|;..nativ|
|00002650| 65 28 32 31 39 29 20 73 | 74 61 74 69 63 20 66 69 |e(219) s|tatic fi|
|00002660| 6e 61 6c 20 6f 70 65 72 | 61 74 6f 72 28 31 36 29 |nal oper|ator(16)|
|00002670| 20 66 6c 6f 61 74 20 20 | 44 6f 74 20 20 20 28 20 | float |Dot ( |
|00002680| 76 65 63 74 6f 72 20 41 | 2c 20 76 65 63 74 6f 72 |vector A|, vector|
|00002690| 20 42 20 29 3b 0d 0a 6e | 61 74 69 76 65 28 32 32 | B );..n|ative(22|
|000026a0| 30 29 20 73 74 61 74 69 | 63 20 66 69 6e 61 6c 20 |0) stati|c final |
|000026b0| 6f 70 65 72 61 74 6f 72 | 28 31 36 29 20 76 65 63 |operator|(16) vec|
|000026c0| 74 6f 72 20 43 72 6f 73 | 73 20 28 20 76 65 63 74 |tor Cros|s ( vect|
|000026d0| 6f 72 20 41 2c 20 76 65 | 63 74 6f 72 20 42 20 29 |or A, ve|ctor B )|
|000026e0| 3b 0d 0a 6e 61 74 69 76 | 65 28 32 32 31 29 20 73 |;..nativ|e(221) s|
|000026f0| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 6f 70 65 72 |tatic fi|nal oper|
|00002700| 61 74 6f 72 28 33 34 29 | 20 76 65 63 74 6f 72 20 |ator(34)| vector |
|00002710| 2a 3d 20 20 20 20 28 20 | 6f 75 74 20 76 65 63 74 |*= ( |out vect|
|00002720| 6f 72 20 41 2c 20 66 6c | 6f 61 74 20 42 20 29 3b |or A, fl|oat B );|
|00002730| 0d 0a 6e 61 74 69 76 65 | 28 32 39 37 29 20 73 74 |..native|(297) st|
|00002740| 61 74 69 63 20 66 69 6e | 61 6c 20 6f 70 65 72 61 |atic fin|al opera|
|00002750| 74 6f 72 28 33 34 29 20 | 76 65 63 74 6f 72 20 2a |tor(34) |vector *|
|00002760| 3d 20 20 20 20 28 20 6f | 75 74 20 76 65 63 74 6f |= ( o|ut vecto|
|00002770| 72 20 41 2c 20 76 65 63 | 74 6f 72 20 42 20 29 3b |r A, vec|tor B );|
|00002780| 0d 0a 6e 61 74 69 76 65 | 28 32 32 32 29 20 73 74 |..native|(222) st|
|00002790| 61 74 69 63 20 66 69 6e | 61 6c 20 6f 70 65 72 61 |atic fin|al opera|
|000027a0| 74 6f 72 28 33 34 29 20 | 76 65 63 74 6f 72 20 2f |tor(34) |vector /|
|000027b0| 3d 20 20 20 20 28 20 6f | 75 74 20 76 65 63 74 6f |= ( o|ut vecto|
|000027c0| 72 20 41 2c 20 66 6c 6f | 61 74 20 42 20 29 3b 0d |r A, flo|at B );.|
|000027d0| 0a 6e 61 74 69 76 65 28 | 32 32 33 29 20 73 74 61 |.native(|223) sta|
|000027e0| 74 69 63 20 66 69 6e 61 | 6c 20 6f 70 65 72 61 74 |tic fina|l operat|
|000027f0| 6f 72 28 33 34 29 20 76 | 65 63 74 6f 72 20 2b 3d |or(34) v|ector +=|
|00002800| 20 20 20 20 28 20 6f 75 | 74 20 76 65 63 74 6f 72 | ( ou|t vector|
|00002810| 20 41 2c 20 76 65 63 74 | 6f 72 20 42 20 29 3b 0d | A, vect|or B );.|
|00002820| 0a 6e 61 74 69 76 65 28 | 32 32 34 29 20 73 74 61 |.native(|224) sta|
|00002830| 74 69 63 20 66 69 6e 61 | 6c 20 6f 70 65 72 61 74 |tic fina|l operat|
|00002840| 6f 72 28 33 34 29 20 76 | 65 63 74 6f 72 20 2d 3d |or(34) v|ector -=|
|00002850| 20 20 20 20 28 20 6f 75 | 74 20 76 65 63 74 6f 72 | ( ou|t vector|
|00002860| 20 41 2c 20 76 65 63 74 | 6f 72 20 42 20 29 3b 0d | A, vect|or B );.|
|00002870| 0a 0d 0a 2f 2f 20 56 65 | 63 74 6f 72 20 66 75 6e |...// Ve|ctor fun|
|00002880| 63 74 69 6f 6e 73 2e 0d | 0a 6e 61 74 69 76 65 28 |ctions..|.native(|
|00002890| 32 32 35 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |225) sta|tic fina|
|000028a0| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 66 6c 6f 61 74 |l functi|on float|
|000028b0| 20 20 56 53 69 7a 65 20 | 20 28 20 76 65 63 74 6f | VSize | ( vecto|
|000028c0| 72 20 41 20 29 3b 0d 0a | 6e 61 74 69 76 65 28 32 |r A );..|native(2|
|000028d0| 32 36 29 20 73 74 61 74 | 69 63 20 66 69 6e 61 6c |26) stat|ic final|
|000028e0| 20 66 75 6e 63 74 69 6f | 6e 20 76 65 63 74 6f 72 | functio|n vector|
|000028f0| 20 4e 6f 72 6d 61 6c 20 | 28 20 76 65 63 74 6f 72 | Normal |( vector|
|00002900| 20 41 20 29 3b 0d 0a 6e | 61 74 69 76 65 28 32 32 | A );..n|ative(22|
|00002910| 37 29 20 73 74 61 74 69 | 63 20 66 69 6e 61 6c 20 |7) stati|c final |
|00002920| 66 75 6e 63 74 69 6f 6e | 20 20 20 20 20 20 20 20 |function| |
|00002930| 49 6e 76 65 72 74 20 28 | 20 6f 75 74 20 76 65 63 |Invert (| out vec|
|00002940| 74 6f 72 20 58 2c 20 6f | 75 74 20 76 65 63 74 6f |tor X, o|ut vecto|
|00002950| 72 20 59 2c 20 6f 75 74 | 20 76 65 63 74 6f 72 20 |r Y, out| vector |
|00002960| 5a 20 29 3b 0d 0a 6e 61 | 74 69 76 65 28 32 35 32 |Z );..na|tive(252|
|00002970| 29 20 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 66 |) static| final f|
|00002980| 75 6e 63 74 69 6f 6e 20 | 76 65 63 74 6f 72 20 56 |unction |vector V|
|00002990| 52 61 6e 64 20 20 28 20 | 29 3b 0d 0a 6e 61 74 69 |Rand ( |);..nati|
|000029a0| 76 65 28 33 30 30 29 20 | 73 74 61 74 69 63 20 66 |ve(300) |static f|
|000029b0| 69 6e 61 6c 20 66 75 6e | 63 74 69 6f 6e 20 76 65 |inal fun|ction ve|
|000029c0| 63 74 6f 72 20 4d 69 72 | 72 6f 72 56 65 63 74 6f |ctor Mir|rorVecto|
|000029d0| 72 42 79 4e 6f 72 6d 61 | 6c 28 20 76 65 63 74 6f |rByNorma|l( vecto|
|000029e0| 72 20 56 65 63 74 2c 20 | 76 65 63 74 6f 72 20 4e |r Vect, |vector N|
|000029f0| 6f 72 6d 61 6c 20 29 3b | 0d 0a 0d 0a 2f 2f 20 52 |ormal );|....// R|
|00002a00| 6f 74 61 74 6f 72 20 6f | 70 65 72 61 74 6f 72 73 |otator o|perators|
|00002a10| 20 61 6e 64 20 66 75 6e | 63 74 69 6f 6e 73 2e 0d | and fun|ctions..|
|00002a20| 0a 6e 61 74 69 76 65 28 | 31 34 32 29 20 73 74 61 |.native(|142) sta|
|00002a30| 74 69 63 20 66 69 6e 61 | 6c 20 6f 70 65 72 61 74 |tic fina|l operat|
|00002a40| 6f 72 28 32 34 29 20 62 | 6f 6f 6c 20 3d 3d 20 20 |or(24) b|ool == |
|00002a50| 20 20 20 28 20 72 6f 74 | 61 74 6f 72 20 41 2c 20 | ( rot|ator A, |
|00002a60| 72 6f 74 61 74 6f 72 20 | 42 20 29 3b 0d 0a 6e 61 |rotator |B );..na|
|00002a70| 74 69 76 65 28 32 30 33 | 29 20 73 74 61 74 69 63 |tive(203|) static|
|00002a80| 20 66 69 6e 61 6c 20 6f | 70 65 72 61 74 6f 72 28 | final o|perator(|
|00002a90| 32 36 29 20 62 6f 6f 6c | 20 21 3d 20 20 20 20 20 |26) bool| != |
|00002aa0| 28 20 72 6f 74 61 74 6f | 72 20 41 2c 20 72 6f 74 |( rotato|r A, rot|
|00002ab0| 61 74 6f 72 20 42 20 29 | 3b 0d 0a 6e 61 74 69 76 |ator B )|;..nativ|
|00002ac0| 65 28 32 38 37 29 20 73 | 74 61 74 69 63 20 66 69 |e(287) s|tatic fi|
|00002ad0| 6e 61 6c 20 6f 70 65 72 | 61 74 6f 72 28 31 36 29 |nal oper|ator(16)|
|00002ae0| 20 72 6f 74 61 74 6f 72 | 20 2a 20 20 20 28 20 72 | rotator| * ( r|
|00002af0| 6f 74 61 74 6f 72 20 41 | 2c 20 66 6c 6f 61 74 20 |otator A|, float |
|00002b00| 20 20 20 42 20 29 3b 0d | 0a 6e 61 74 69 76 65 28 | B );.|.native(|
|00002b10| 32 38 38 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |288) sta|tic fina|
|00002b20| 6c 20 6f 70 65 72 61 74 | 6f 72 28 31 36 29 20 72 |l operat|or(16) r|
|00002b30| 6f 74 61 74 6f 72 20 2a | 20 20 20 28 20 66 6c 6f |otator *| ( flo|
|00002b40| 61 74 20 20 20 20 41 2c | 20 72 6f 74 61 74 6f 72 |at A,| rotator|
|00002b50| 20 42 20 29 3b 0d 0a 6e | 61 74 69 76 65 28 32 38 | B );..n|ative(28|
|00002b60| 39 29 20 73 74 61 74 69 | 63 20 66 69 6e 61 6c 20 |9) stati|c final |
|00002b70| 6f 70 65 72 61 74 6f 72 | 28 31 36 29 20 72 6f 74 |operator|(16) rot|
|00002b80| 61 74 6f 72 20 2f 20 20 | 20 28 20 72 6f 74 61 74 |ator / | ( rotat|
|00002b90| 6f 72 20 41 2c 20 66 6c | 6f 61 74 20 20 20 20 42 |or A, fl|oat B|
|00002ba0| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 28 32 39 30 29 | );..nat|ive(290)|
|00002bb0| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 6f 70 | static |final op|
|00002bc0| 65 72 61 74 6f 72 28 33 | 34 29 20 72 6f 74 61 74 |erator(3|4) rotat|
|00002bd0| 6f 72 20 2a 3d 20 20 28 | 20 6f 75 74 20 72 6f 74 |or *= (| out rot|
|00002be0| 61 74 6f 72 20 41 2c 20 | 66 6c 6f 61 74 20 42 20 |ator A, |float B |
|00002bf0| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 28 32 39 31 29 | );..nat|ive(291)|
|00002c00| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 6f 70 | static |final op|
|00002c10| 65 72 61 74 6f 72 28 33 | 34 29 20 72 6f 74 61 74 |erator(3|4) rotat|
|00002c20| 6f 72 20 2f 3d 20 20 28 | 20 6f 75 74 20 72 6f 74 |or /= (| out rot|
|00002c30| 61 74 6f 72 20 41 2c 20 | 66 6c 6f 61 74 20 42 20 |ator A, |float B |
|00002c40| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 28 33 31 36 29 | );..nat|ive(316)|
|00002c50| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 6f 70 | static |final op|
|00002c60| 65 72 61 74 6f 72 28 32 | 30 29 20 72 6f 74 61 74 |erator(2|0) rotat|
|00002c70| 6f 72 20 2b 20 20 20 28 | 20 72 6f 74 61 74 6f 72 |or + (| rotator|
|00002c80| 20 41 2c 20 72 6f 74 61 | 74 6f 72 20 42 20 29 3b | A, rota|tor B );|
|00002c90| 0d 0a 6e 61 74 69 76 65 | 28 33 31 37 29 20 73 74 |..native|(317) st|
|00002ca0| 61 74 69 63 20 66 69 6e | 61 6c 20 6f 70 65 72 61 |atic fin|al opera|
|00002cb0| 74 6f 72 28 32 30 29 20 | 72 6f 74 61 74 6f 72 20 |tor(20) |rotator |
|00002cc0| 2d 20 20 20 28 20 72 6f | 74 61 74 6f 72 20 41 2c |- ( ro|tator A,|
|00002cd0| 20 72 6f 74 61 74 6f 72 | 20 42 20 29 3b 0d 0a 6e | rotator| B );..n|
|00002ce0| 61 74 69 76 65 28 33 31 | 38 29 20 73 74 61 74 69 |ative(31|8) stati|
|00002cf0| 63 20 66 69 6e 61 6c 20 | 6f 70 65 72 61 74 6f 72 |c final |operator|
|00002d00| 28 33 34 29 20 72 6f 74 | 61 74 6f 72 20 2b 3d 20 |(34) rot|ator += |
|00002d10| 20 28 20 6f 75 74 20 72 | 6f 74 61 74 6f 72 20 41 | ( out r|otator A|
|00002d20| 2c 20 72 6f 74 61 74 6f | 72 20 42 20 29 3b 0d 0a |, rotato|r B );..|
|00002d30| 6e 61 74 69 76 65 28 33 | 31 39 29 20 73 74 61 74 |native(3|19) stat|
|00002d40| 69 63 20 66 69 6e 61 6c | 20 6f 70 65 72 61 74 6f |ic final| operato|
|00002d50| 72 28 33 34 29 20 72 6f | 74 61 74 6f 72 20 2d 3d |r(34) ro|tator -=|
|00002d60| 20 20 28 20 6f 75 74 20 | 72 6f 74 61 74 6f 72 20 | ( out |rotator |
|00002d70| 41 2c 20 72 6f 74 61 74 | 6f 72 20 42 20 29 3b 0d |A, rotat|or B );.|
|00002d80| 0a 6e 61 74 69 76 65 28 | 32 32 39 29 20 73 74 61 |.native(|229) sta|
|00002d90| 74 69 63 20 66 69 6e 61 | 6c 20 66 75 6e 63 74 69 |tic fina|l functi|
|00002da0| 6f 6e 20 47 65 74 41 78 | 65 73 20 20 20 20 20 20 |on GetAx|es |
|00002db0| 20 20 20 28 20 72 6f 74 | 61 74 6f 72 20 41 2c 20 | ( rot|ator A, |
|00002dc0| 6f 75 74 20 76 65 63 74 | 6f 72 20 58 2c 20 6f 75 |out vect|or X, ou|
|00002dd0| 74 20 76 65 63 74 6f 72 | 20 59 2c 20 6f 75 74 20 |t vector| Y, out |
|00002de0| 76 65 63 74 6f 72 20 5a | 20 29 3b 0d 0a 6e 61 74 |vector Z| );..nat|
|00002df0| 69 76 65 28 32 33 30 29 | 20 73 74 61 74 69 63 20 |ive(230)| static |
|00002e00| 66 69 6e 61 6c 20 66 75 | 6e 63 74 69 6f 6e 20 47 |final fu|nction G|
|00002e10| 65 74 55 6e 41 78 65 73 | 20 20 20 20 20 20 20 28 |etUnAxes| (|
|00002e20| 20 72 6f 74 61 74 6f 72 | 20 41 2c 20 6f 75 74 20 | rotator| A, out |
|00002e30| 76 65 63 74 6f 72 20 58 | 2c 20 6f 75 74 20 76 65 |vector X|, out ve|
|00002e40| 63 74 6f 72 20 59 2c 20 | 6f 75 74 20 76 65 63 74 |ctor Y, |out vect|
|00002e50| 6f 72 20 5a 20 29 3b 0d | 0a 6e 61 74 69 76 65 28 |or Z );.|.native(|
|00002e60| 33 32 30 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |320) sta|tic fina|
|00002e70| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 72 6f 74 61 74 |l functi|on rotat|
|00002e80| 6f 72 20 52 6f 74 52 61 | 6e 64 20 28 20 6f 70 74 |or RotRa|nd ( opt|
|00002e90| 69 6f 6e 61 6c 20 62 6f | 6f 6c 20 62 52 6f 6c 6c |ional bo|ol bRoll|
|00002ea0| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 20 20 20 20 20 | );..nat|ive |
|00002eb0| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 66 75 | static |final fu|
|00002ec0| 6e 63 74 69 6f 6e 20 72 | 6f 74 61 74 6f 72 20 4f |nction r|otator O|
|00002ed0| 72 74 68 6f 52 6f 74 61 | 74 69 6f 6e 28 20 76 65 |rthoRota|tion( ve|
|00002ee0| 63 74 6f 72 20 58 2c 20 | 76 65 63 74 6f 72 20 59 |ctor X, |vector Y|
|00002ef0| 2c 20 76 65 63 74 6f 72 | 20 5a 20 29 3b 0d 0a 6e |, vector| Z );..n|
|00002f00| 61 74 69 76 65 20 20 20 | 20 20 20 73 74 61 74 69 |ative | stati|
|00002f10| 63 20 66 69 6e 61 6c 20 | 66 75 6e 63 74 69 6f 6e |c final |function|
|00002f20| 20 72 6f 74 61 74 6f 72 | 20 4e 6f 72 6d 61 6c 69 | rotator| Normali|
|00002f30| 7a 65 28 20 72 6f 74 61 | 74 6f 72 20 52 6f 74 20 |ze( rota|tor Rot |
|00002f40| 29 3b 0d 0a 6e 61 74 69 | 76 65 09 09 73 74 61 74 |);..nati|ve..stat|
|00002f50| 69 63 20 66 69 6e 61 6c | 20 6f 70 65 72 61 74 6f |ic final| operato|
|00002f60| 72 28 32 34 29 20 62 6f | 6f 6c 20 43 6c 6f 63 6b |r(24) bo|ol Clock|
|00002f70| 77 69 73 65 46 72 6f 6d | 28 20 69 6e 74 20 41 2c |wiseFrom|( int A,|
|00002f80| 20 69 6e 74 20 42 20 29 | 3b 0d 0a 0d 0a 2f 2f 20 | int B )|;....// |
|00002f90| 53 74 72 69 6e 67 20 6f | 70 65 72 61 74 6f 72 73 |String o|perators|
|00002fa0| 2e 0d 0a 6e 61 74 69 76 | 65 28 31 31 32 29 20 73 |...nativ|e(112) s|
|00002fb0| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 6f 70 65 72 |tatic fi|nal oper|
|00002fc0| 61 74 6f 72 28 34 30 29 | 20 73 74 72 69 6e 67 20 |ator(40)| string |
|00002fd0| 24 20 20 28 20 63 6f 65 | 72 63 65 20 73 74 72 69 |$ ( coe|rce stri|
|00002fe0| 6e 67 20 41 2c 20 63 6f | 65 72 63 65 20 73 74 72 |ng A, co|erce str|
|00002ff0| 69 6e 67 20 42 20 29 3b | 0d 0a 6e 61 74 69 76 65 |ing B );|..native|
|00003000| 28 31 36 38 29 20 73 74 | 61 74 69 63 20 66 69 6e |(168) st|atic fin|
|00003010| 61 6c 20 6f 70 65 72 61 | 74 6f 72 28 34 30 29 20 |al opera|tor(40) |
|00003020| 73 74 72 69 6e 67 20 40 | 20 20 28 20 63 6f 65 72 |string @| ( coer|
|00003030| 63 65 20 73 74 72 69 6e | 67 20 41 2c 20 63 6f 65 |ce strin|g A, coe|
|00003040| 72 63 65 20 73 74 72 69 | 6e 67 20 42 20 29 3b 0d |rce stri|ng B );.|
|00003050| 0a 6e 61 74 69 76 65 28 | 31 31 35 29 20 73 74 61 |.native(|115) sta|
|00003060| 74 69 63 20 66 69 6e 61 | 6c 20 6f 70 65 72 61 74 |tic fina|l operat|
|00003070| 6f 72 28 32 34 29 20 62 | 6f 6f 6c 20 20 20 3c 20 |or(24) b|ool < |
|00003080| 20 28 20 73 74 72 69 6e | 67 20 41 2c 20 73 74 72 | ( strin|g A, str|
|00003090| 69 6e 67 20 42 20 29 3b | 0d 0a 6e 61 74 69 76 65 |ing B );|..native|
|000030a0| 28 31 31 36 29 20 73 74 | 61 74 69 63 20 66 69 6e |(116) st|atic fin|
|000030b0| 61 6c 20 6f 70 65 72 61 | 74 6f 72 28 32 34 29 20 |al opera|tor(24) |
|000030c0| 62 6f 6f 6c 20 20 20 3e | 20 20 28 20 73 74 72 69 |bool >| ( stri|
|000030d0| 6e 67 20 41 2c 20 73 74 | 72 69 6e 67 20 42 20 29 |ng A, st|ring B )|
|000030e0| 3b 0d 0a 6e 61 74 69 76 | 65 28 31 32 30 29 20 73 |;..nativ|e(120) s|
|000030f0| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 6f 70 65 72 |tatic fi|nal oper|
|00003100| 61 74 6f 72 28 32 34 29 | 20 62 6f 6f 6c 20 20 20 |ator(24)| bool |
|00003110| 3c 3d 20 28 20 73 74 72 | 69 6e 67 20 41 2c 20 73 |<= ( str|ing A, s|
|00003120| 74 72 69 6e 67 20 42 20 | 29 3b 0d 0a 6e 61 74 69 |tring B |);..nati|
|00003130| 76 65 28 31 32 31 29 20 | 73 74 61 74 69 63 20 66 |ve(121) |static f|
|00003140| 69 6e 61 6c 20 6f 70 65 | 72 61 74 6f 72 28 32 34 |inal ope|rator(24|
|00003150| 29 20 62 6f 6f 6c 20 20 | 20 3e 3d 20 28 20 73 74 |) bool | >= ( st|
|00003160| 72 69 6e 67 20 41 2c 20 | 73 74 72 69 6e 67 20 42 |ring A, |string B|
|00003170| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 28 31 32 32 29 | );..nat|ive(122)|
|00003180| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 6f 70 | static |final op|
|00003190| 65 72 61 74 6f 72 28 32 | 34 29 20 62 6f 6f 6c 20 |erator(2|4) bool |
|000031a0| 20 20 3d 3d 20 28 20 73 | 74 72 69 6e 67 20 41 2c | == ( s|tring A,|
|000031b0| 20 73 74 72 69 6e 67 20 | 42 20 29 3b 0d 0a 6e 61 | string |B );..na|
|000031c0| 74 69 76 65 28 31 32 33 | 29 20 73 74 61 74 69 63 |tive(123|) static|
|000031d0| 20 66 69 6e 61 6c 20 6f | 70 65 72 61 74 6f 72 28 | final o|perator(|
|000031e0| 32 36 29 20 62 6f 6f 6c | 20 20 20 21 3d 20 28 20 |26) bool| != ( |
|000031f0| 73 74 72 69 6e 67 20 41 | 2c 20 73 74 72 69 6e 67 |string A|, string|
|00003200| 20 42 20 29 3b 0d 0a 6e | 61 74 69 76 65 28 31 32 | B );..n|ative(12|
|00003210| 34 29 20 73 74 61 74 69 | 63 20 66 69 6e 61 6c 20 |4) stati|c final |
|00003220| 6f 70 65 72 61 74 6f 72 | 28 32 34 29 20 62 6f 6f |operator|(24) boo|
|00003230| 6c 20 20 20 7e 3d 20 28 | 20 73 74 72 69 6e 67 20 |l ~= (| string |
|00003240| 41 2c 20 73 74 72 69 6e | 67 20 42 20 29 3b 0d 0a |A, strin|g B );..|
|00003250| 0d 0a 2f 2f 20 53 74 72 | 69 6e 67 20 66 75 6e 63 |..// Str|ing func|
|00003260| 74 69 6f 6e 73 2e 0d 0a | 6e 61 74 69 76 65 28 31 |tions...|native(1|
|00003270| 32 35 29 20 73 74 61 74 | 69 63 20 66 69 6e 61 6c |25) stat|ic final|
|00003280| 20 66 75 6e 63 74 69 6f | 6e 20 69 6e 74 20 20 20 | functio|n int |
|00003290| 20 4c 65 6e 20 20 20 20 | 28 20 63 6f 65 72 63 65 | Len |( coerce|
|000032a0| 20 73 74 72 69 6e 67 20 | 53 20 29 3b 0d 0a 6e 61 | string |S );..na|
|000032b0| 74 69 76 65 28 31 32 36 | 29 20 73 74 61 74 69 63 |tive(126|) static|
|000032c0| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|000032d0| 69 6e 74 20 20 20 20 49 | 6e 53 74 72 20 20 28 20 |int I|nStr ( |
|000032e0| 63 6f 65 72 63 65 20 73 | 74 72 69 6e 67 20 53 2c |coerce s|tring S,|
|000032f0| 20 63 6f 65 72 63 65 20 | 73 74 72 69 6e 67 20 74 | coerce |string t|
|00003300| 20 29 3b 0d 0a 6e 61 74 | 69 76 65 28 31 32 37 29 | );..nat|ive(127)|
|00003310| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 66 75 | static |final fu|
|00003320| 6e 63 74 69 6f 6e 20 73 | 74 72 69 6e 67 20 4d 69 |nction s|tring Mi|
|00003330| 64 20 20 20 20 28 20 63 | 6f 65 72 63 65 20 73 74 |d ( c|oerce st|
|00003340| 72 69 6e 67 20 53 2c 20 | 69 6e 74 20 69 2c 20 6f |ring S, |int i, o|
|00003350| 70 74 69 6f 6e 61 6c 20 | 69 6e 74 20 6a 20 29 3b |ptional |int j );|
|00003360| 0d 0a 6e 61 74 69 76 65 | 28 31 32 38 29 20 73 74 |..native|(128) st|
|00003370| 61 74 69 63 20 66 69 6e | 61 6c 20 66 75 6e 63 74 |atic fin|al funct|
|00003380| 69 6f 6e 20 73 74 72 69 | 6e 67 20 4c 65 66 74 20 |ion stri|ng Left |
|00003390| 20 20 28 20 63 6f 65 72 | 63 65 20 73 74 72 69 6e | ( coer|ce strin|
|000033a0| 67 20 53 2c 20 69 6e 74 | 20 69 20 29 3b 0d 0a 6e |g S, int| i );..n|
|000033b0| 61 74 69 76 65 28 32 33 | 34 29 20 73 74 61 74 69 |ative(23|4) stati|
|000033c0| 63 20 66 69 6e 61 6c 20 | 66 75 6e 63 74 69 6f 6e |c final |function|
|000033d0| 20 73 74 72 69 6e 67 20 | 52 69 67 68 74 20 20 28 | string |Right (|
|000033e0| 20 63 6f 65 72 63 65 20 | 73 74 72 69 6e 67 20 53 | coerce |string S|
|000033f0| 2c 20 69 6e 74 20 69 20 | 29 3b 0d 0a 6e 61 74 69 |, int i |);..nati|
|00003400| 76 65 28 32 33 35 29 20 | 73 74 61 74 69 63 20 66 |ve(235) |static f|
|00003410| 69 6e 61 6c 20 66 75 6e | 63 74 69 6f 6e 20 73 74 |inal fun|ction st|
|00003420| 72 69 6e 67 20 43 61 70 | 73 20 20 20 28 20 63 6f |ring Cap|s ( co|
|00003430| 65 72 63 65 20 73 74 72 | 69 6e 67 20 53 20 29 3b |erce str|ing S );|
|00003440| 0d 0a 6e 61 74 69 76 65 | 28 32 33 36 29 20 73 74 |..native|(236) st|
|00003450| 61 74 69 63 20 66 69 6e | 61 6c 20 66 75 6e 63 74 |atic fin|al funct|
|00003460| 69 6f 6e 20 73 74 72 69 | 6e 67 20 43 68 72 20 20 |ion stri|ng Chr |
|00003470| 20 20 28 20 69 6e 74 20 | 69 20 29 3b 0d 0a 6e 61 | ( int |i );..na|
|00003480| 74 69 76 65 28 32 33 37 | 29 20 73 74 61 74 69 63 |tive(237|) static|
|00003490| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|000034a0| 69 6e 74 20 20 20 20 41 | 73 63 20 20 20 20 28 20 |int A|sc ( |
|000034b0| 73 74 72 69 6e 67 20 53 | 20 29 3b 0d 0a 0d 0a 2f |string S| );..../|
|000034c0| 2f 20 4f 62 6a 65 63 74 | 20 6f 70 65 72 61 74 6f |/ Object| operato|
|000034d0| 72 73 2e 0d 0a 6e 61 74 | 69 76 65 28 31 31 34 29 |rs...nat|ive(114)|
|000034e0| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 6f 70 | static |final op|
|000034f0| 65 72 61 74 6f 72 28 32 | 34 29 20 62 6f 6f 6c 20 |erator(2|4) bool |
|00003500| 3d 3d 20 28 20 4f 62 6a | 65 63 74 20 41 2c 20 4f |== ( Obj|ect A, O|
|00003510| 62 6a 65 63 74 20 42 20 | 29 3b 0d 0a 6e 61 74 69 |bject B |);..nati|
|00003520| 76 65 28 31 31 39 29 20 | 73 74 61 74 69 63 20 66 |ve(119) |static f|
|00003530| 69 6e 61 6c 20 6f 70 65 | 72 61 74 6f 72 28 32 36 |inal ope|rator(26|
|00003540| 29 20 62 6f 6f 6c 20 21 | 3d 20 28 20 4f 62 6a 65 |) bool !|= ( Obje|
|00003550| 63 74 20 41 2c 20 4f 62 | 6a 65 63 74 20 42 20 29 |ct A, Ob|ject B )|
|00003560| 3b 0d 0a 0d 0a 2f 2f 20 | 4e 61 6d 65 20 6f 70 65 |;....// |Name ope|
|00003570| 72 61 74 6f 72 73 2e 0d | 0a 6e 61 74 69 76 65 28 |rators..|.native(|
|00003580| 32 35 34 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |254) sta|tic fina|
|00003590| 6c 20 6f 70 65 72 61 74 | 6f 72 28 32 34 29 20 62 |l operat|or(24) b|
|000035a0| 6f 6f 6c 20 3d 3d 20 28 | 20 6e 61 6d 65 20 41 2c |ool == (| name A,|
|000035b0| 20 6e 61 6d 65 20 42 20 | 29 3b 0d 0a 6e 61 74 69 | name B |);..nati|
|000035c0| 76 65 28 32 35 35 29 20 | 73 74 61 74 69 63 20 66 |ve(255) |static f|
|000035d0| 69 6e 61 6c 20 6f 70 65 | 72 61 74 6f 72 28 32 36 |inal ope|rator(26|
|000035e0| 29 20 62 6f 6f 6c 20 21 | 3d 20 28 20 6e 61 6d 65 |) bool !|= ( name|
|000035f0| 20 41 2c 20 6e 61 6d 65 | 20 42 20 29 3b 0d 0a 0d | A, name| B );...|
|00003600| 0a 2f 2f 20 49 6e 74 65 | 72 70 43 75 72 76 65 20 |.// Inte|rpCurve |
|00003610| 6f 70 65 72 61 74 6f 72 | 0d 0a 6e 61 74 69 76 65 |operator|..native|
|00003620| 09 09 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 66 |..static| final f|
|00003630| 75 6e 63 74 69 6f 6e 20 | 66 6c 6f 61 74 20 49 6e |unction |float In|
|00003640| 74 65 72 70 43 75 72 76 | 65 45 76 61 6c 28 20 49 |terpCurv|eEval( I|
|00003650| 6e 74 65 72 70 43 75 72 | 76 65 20 63 75 72 76 65 |nterpCur|ve curve|
|00003660| 2c 20 66 6c 6f 61 74 20 | 69 6e 70 75 74 20 29 3b |, float |input );|
|00003670| 0d 0a 6e 61 74 69 76 65 | 09 09 73 74 61 74 69 63 |..native|..static|
|00003680| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|00003690| 49 6e 74 65 72 70 43 75 | 72 76 65 47 65 74 4f 75 |InterpCu|rveGetOu|
|000036a0| 74 70 75 74 52 61 6e 67 | 65 28 20 49 6e 74 65 72 |tputRang|e( Inter|
|000036b0| 70 43 75 72 76 65 20 63 | 75 72 76 65 2c 20 6f 75 |pCurve c|urve, ou|
|000036c0| 74 20 66 6c 6f 61 74 20 | 6d 69 6e 2c 20 6f 75 74 |t float |min, out|
|000036d0| 20 66 6c 6f 61 74 20 6d | 61 78 20 29 3b 0d 0a 6e | float m|ax );..n|
|000036e0| 61 74 69 76 65 09 09 73 | 74 61 74 69 63 20 66 69 |ative..s|tatic fi|
|000036f0| 6e 61 6c 20 66 75 6e 63 | 74 69 6f 6e 20 49 6e 74 |nal func|tion Int|
|00003700| 65 72 70 43 75 72 76 65 | 47 65 74 49 6e 70 75 74 |erpCurve|GetInput|
|00003710| 44 6f 6d 61 69 6e 28 20 | 49 6e 74 65 72 70 43 75 |Domain( |InterpCu|
|00003720| 72 76 65 20 63 75 72 76 | 65 2c 20 6f 75 74 20 66 |rve curv|e, out f|
|00003730| 6c 6f 61 74 20 6d 69 6e | 2c 20 6f 75 74 20 66 6c |loat min|, out fl|
|00003740| 6f 61 74 20 6d 61 78 20 | 29 3b 0d 0a 0d 0a 2f 2f |oat max |);....//|
|00003750| 20 51 75 61 74 65 72 6e | 69 6f 6e 20 66 75 6e 63 | Quatern|ion func|
|00003760| 74 69 6f 6e 73 0d 0a 6e | 61 74 69 76 65 09 09 73 |tions..n|ative..s|
|00003770| 74 61 74 69 63 20 66 69 | 6e 61 6c 20 66 75 6e 63 |tatic fi|nal func|
|00003780| 74 69 6f 6e 20 51 75 61 | 74 20 51 75 61 74 50 72 |tion Qua|t QuatPr|
|00003790| 6f 64 75 63 74 28 20 51 | 75 61 74 20 41 2c 20 51 |oduct( Q|uat A, Q|
|000037a0| 75 61 74 20 42 20 29 3b | 0d 0a 6e 61 74 69 76 65 |uat B );|..native|
|000037b0| 09 09 73 74 61 74 69 63 | 20 66 69 6e 61 6c 20 66 |..static| final f|
|000037c0| 75 6e 63 74 69 6f 6e 20 | 51 75 61 74 20 51 75 61 |unction |Quat Qua|
|000037d0| 74 49 6e 76 65 72 74 28 | 20 51 75 61 74 20 41 20 |tInvert(| Quat A |
|000037e0| 29 3b 0d 0a 6e 61 74 69 | 76 65 09 09 73 74 61 74 |);..nati|ve..stat|
|000037f0| 69 63 20 66 69 6e 61 6c | 20 66 75 6e 63 74 69 6f |ic final| functio|
|00003800| 6e 20 76 65 63 74 6f 72 | 20 51 75 61 74 52 6f 74 |n vector| QuatRot|
|00003810| 61 74 65 56 65 63 74 6f | 72 28 20 51 75 61 74 20 |ateVecto|r( Quat |
|00003820| 41 2c 20 76 65 63 74 6f | 72 20 42 20 29 3b 0d 0a |A, vecto|r B );..|
|00003830| 6e 61 74 69 76 65 09 09 | 73 74 61 74 69 63 20 66 |native..|static f|
|00003840| 69 6e 61 6c 20 66 75 6e | 63 74 69 6f 6e 20 51 75 |inal fun|ction Qu|
|00003850| 61 74 20 51 75 61 74 46 | 69 6e 64 42 65 74 77 65 |at QuatF|indBetwe|
|00003860| 65 6e 28 20 56 65 63 74 | 6f 72 20 41 2c 20 56 65 |en( Vect|or A, Ve|
|00003870| 63 74 6f 72 20 42 20 29 | 3b 0d 0a 6e 61 74 69 76 |ctor B )|;..nativ|
|00003880| 65 09 09 73 74 61 74 69 | 63 20 66 69 6e 61 6c 20 |e..stati|c final |
|00003890| 66 75 6e 63 74 69 6f 6e | 20 51 75 61 74 20 51 75 |function| Quat Qu|
|000038a0| 61 74 46 72 6f 6d 41 78 | 69 73 41 6e 64 41 6e 67 |atFromAx|isAndAng|
|000038b0| 6c 65 28 20 56 65 63 74 | 6f 72 20 41 78 69 73 2c |le( Vect|or Axis,|
|000038c0| 20 46 6c 6f 61 74 20 41 | 6e 67 6c 65 20 29 3b 0d | Float A|ngle );.|
|000038d0| 0a 6e 61 74 69 76 65 09 | 09 73 74 61 74 69 63 20 |.native.|.static |
|000038e0| 66 69 6e 61 6c 20 66 75 | 6e 63 74 69 6f 6e 20 51 |final fu|nction Q|
|000038f0| 75 61 74 20 51 75 61 74 | 46 72 6f 6d 52 6f 74 61 |uat Quat|FromRota|
|00003900| 74 6f 72 28 20 72 6f 74 | 61 74 6f 72 20 41 20 29 |tor( rot|ator A )|
|00003910| 3b 0d 0a 6e 61 74 69 76 | 65 09 09 73 74 61 74 69 |;..nativ|e..stati|
|00003920| 63 20 66 69 6e 61 6c 20 | 66 75 6e 63 74 69 6f 6e |c final |function|
|00003930| 20 72 6f 74 61 74 6f 72 | 20 51 75 61 74 54 6f 52 | rotator| QuatToR|
|00003940| 6f 74 61 74 6f 72 28 20 | 51 75 61 74 20 41 20 29 |otator( |Quat A )|
|00003950| 3b 0d 0a 0d 0a 2f 2f 3d | 3d 3d 3d 3d 3d 3d 3d 3d |;....//=|========|
|00003960| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003970| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003980| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003990| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000039a0| 3d 3d 3d 3d 0d 0a 2f 2f | 20 47 65 6e 65 72 61 6c |====..//| General|
|000039b0| 20 66 75 6e 63 74 69 6f | 6e 73 2e 0d 0a 0d 0a 2f | functio|ns...../|
|000039c0| 2f 20 4c 6f 67 67 69 6e | 67 2e 0d 0a 6e 61 74 69 |/ Loggin|g...nati|
|000039d0| 76 65 28 32 33 31 29 20 | 66 69 6e 61 6c 20 73 74 |ve(231) |final st|
|000039e0| 61 74 69 63 20 66 75 6e | 63 74 69 6f 6e 20 4c 6f |atic fun|ction Lo|
|000039f0| 67 28 20 63 6f 65 72 63 | 65 20 73 74 72 69 6e 67 |g( coerc|e string|
|00003a00| 20 53 2c 20 6f 70 74 69 | 6f 6e 61 6c 20 6e 61 6d | S, opti|onal nam|
|00003a10| 65 20 54 61 67 20 29 3b | 0d 0a 6e 61 74 69 76 65 |e Tag );|..native|
|00003a20| 28 32 33 32 29 20 66 69 | 6e 61 6c 20 73 74 61 74 |(232) fi|nal stat|
|00003a30| 69 63 20 66 75 6e 63 74 | 69 6f 6e 20 57 61 72 6e |ic funct|ion Warn|
|00003a40| 28 20 63 6f 65 72 63 65 | 20 73 74 72 69 6e 67 20 |( coerce| string |
|00003a50| 53 20 29 3b 0d 0a 6e 61 | 74 69 76 65 20 73 74 61 |S );..na|tive sta|
|00003a60| 74 69 63 20 66 75 6e 63 | 74 69 6f 6e 20 73 74 72 |tic func|tion str|
|00003a70| 69 6e 67 20 4c 6f 63 61 | 6c 69 7a 65 28 20 73 74 |ing Loca|lize( st|
|00003a80| 72 69 6e 67 20 53 65 63 | 74 69 6f 6e 4e 61 6d 65 |ring Sec|tionName|
|00003a90| 2c 20 73 74 72 69 6e 67 | 20 4b 65 79 4e 61 6d 65 |, string| KeyName|
|00003aa0| 2c 20 73 74 72 69 6e 67 | 20 50 61 63 6b 61 67 65 |, string| Package|
|00003ab0| 4e 61 6d 65 20 29 3b 0d | 0a 0d 0a 2f 2f 20 47 6f |Name );.|...// Go|
|00003ac0| 74 6f 20 73 74 61 74 65 | 20 61 6e 64 20 6c 61 62 |to state| and lab|
|00003ad0| 65 6c 2e 0d 0a 6e 61 74 | 69 76 65 28 31 31 33 29 |el...nat|ive(113)|
|00003ae0| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|00003af0| 47 6f 74 6f 53 74 61 74 | 65 28 20 6f 70 74 69 6f |GotoStat|e( optio|
|00003b00| 6e 61 6c 20 6e 61 6d 65 | 20 4e 65 77 53 74 61 74 |nal name| NewStat|
|00003b10| 65 2c 20 6f 70 74 69 6f | 6e 61 6c 20 6e 61 6d 65 |e, optio|nal name|
|00003b20| 20 4c 61 62 65 6c 20 29 | 3b 0d 0a 6e 61 74 69 76 | Label )|;..nativ|
|00003b30| 65 28 32 38 31 29 20 66 | 69 6e 61 6c 20 66 75 6e |e(281) f|inal fun|
|00003b40| 63 74 69 6f 6e 20 62 6f | 6f 6c 20 49 73 49 6e 53 |ction bo|ol IsInS|
|00003b50| 74 61 74 65 28 20 6e 61 | 6d 65 20 54 65 73 74 53 |tate( na|me TestS|
|00003b60| 74 61 74 65 20 29 3b 0d | 0a 6e 61 74 69 76 65 28 |tate );.|.native(|
|00003b70| 32 38 34 29 20 66 69 6e | 61 6c 20 66 75 6e 63 74 |284) fin|al funct|
|00003b80| 69 6f 6e 20 6e 61 6d 65 | 20 47 65 74 53 74 61 74 |ion name| GetStat|
|00003b90| 65 4e 61 6d 65 28 29 3b | 0d 0a 0d 0a 2f 2f 20 4f |eName();|....// O|
|00003ba0| 62 6a 65 63 74 73 2e 0d | 0a 6e 61 74 69 76 65 28 |bjects..|.native(|
|00003bb0| 32 35 38 29 20 73 74 61 | 74 69 63 20 66 69 6e 61 |258) sta|tic fina|
|00003bc0| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 62 6f 6f 6c 20 |l functi|on bool |
|00003bd0| 43 6c 61 73 73 49 73 43 | 68 69 6c 64 4f 66 28 20 |ClassIsC|hildOf( |
|00003be0| 63 6c 61 73 73 20 54 65 | 73 74 43 6c 61 73 73 2c |class Te|stClass,|
|00003bf0| 20 63 6c 61 73 73 20 50 | 61 72 65 6e 74 43 6c 61 | class P|arentCla|
|00003c00| 73 73 20 29 3b 0d 0a 6e | 61 74 69 76 65 28 33 30 |ss );..n|ative(30|
|00003c10| 33 29 20 66 69 6e 61 6c | 20 66 75 6e 63 74 69 6f |3) final| functio|
|00003c20| 6e 20 62 6f 6f 6c 20 49 | 73 41 28 20 6e 61 6d 65 |n bool I|sA( name|
|00003c30| 20 43 6c 61 73 73 4e 61 | 6d 65 20 29 3b 0d 0a 0d | ClassNa|me );...|
|00003c40| 0a 2f 2f 20 50 72 6f 62 | 65 20 6d 65 73 73 61 67 |.// Prob|e messag|
|00003c50| 65 73 2e 0d 0a 6e 61 74 | 69 76 65 28 31 31 37 29 |es...nat|ive(117)|
|00003c60| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|00003c70| 45 6e 61 62 6c 65 28 20 | 6e 61 6d 65 20 50 72 6f |Enable( |name Pro|
|00003c80| 62 65 46 75 6e 63 20 29 | 3b 0d 0a 6e 61 74 69 76 |beFunc )|;..nativ|
|00003c90| 65 28 31 31 38 29 20 66 | 69 6e 61 6c 20 66 75 6e |e(118) f|inal fun|
|00003ca0| 63 74 69 6f 6e 20 44 69 | 73 61 62 6c 65 28 20 6e |ction Di|sable( n|
|00003cb0| 61 6d 65 20 50 72 6f 62 | 65 46 75 6e 63 20 29 3b |ame Prob|eFunc );|
|00003cc0| 0d 0a 0d 0a 2f 2f 20 50 | 72 6f 70 65 72 74 69 65 |....// P|ropertie|
|00003cd0| 73 2e 0d 0a 6e 61 74 69 | 76 65 20 66 69 6e 61 6c |s...nati|ve final|
|00003ce0| 20 66 75 6e 63 74 69 6f | 6e 20 73 74 72 69 6e 67 | functio|n string|
|00003cf0| 20 47 65 74 50 72 6f 70 | 65 72 74 79 54 65 78 74 | GetProp|ertyText|
|00003d00| 28 20 73 74 72 69 6e 67 | 20 50 72 6f 70 4e 61 6d |( string| PropNam|
|00003d10| 65 20 29 3b 0d 0a 6e 61 | 74 69 76 65 20 66 69 6e |e );..na|tive fin|
|00003d20| 61 6c 20 66 75 6e 63 74 | 69 6f 6e 20 53 65 74 50 |al funct|ion SetP|
|00003d30| 72 6f 70 65 72 74 79 54 | 65 78 74 28 20 73 74 72 |ropertyT|ext( str|
|00003d40| 69 6e 67 20 50 72 6f 70 | 4e 61 6d 65 2c 20 73 74 |ing Prop|Name, st|
|00003d50| 72 69 6e 67 20 50 72 6f | 70 56 61 6c 75 65 20 29 |ring Pro|pValue )|
|00003d60| 3b 0d 0a 6e 61 74 69 76 | 65 20 73 74 61 74 69 63 |;..nativ|e static|
|00003d70| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|00003d80| 6e 61 6d 65 20 47 65 74 | 45 6e 75 6d 28 20 6f 62 |name Get|Enum( ob|
|00003d90| 6a 65 63 74 20 45 2c 20 | 69 6e 74 20 69 20 29 3b |ject E, |int i );|
|00003da0| 0d 0a 6e 61 74 69 76 65 | 20 73 74 61 74 69 63 20 |..native| static |
|00003db0| 66 69 6e 61 6c 20 66 75 | 6e 63 74 69 6f 6e 20 6f |final fu|nction o|
|00003dc0| 62 6a 65 63 74 20 44 79 | 6e 61 6d 69 63 4c 6f 61 |bject Dy|namicLoa|
|00003dd0| 64 4f 62 6a 65 63 74 28 | 20 73 74 72 69 6e 67 20 |dObject(| string |
|00003de0| 4f 62 6a 65 63 74 4e 61 | 6d 65 2c 20 63 6c 61 73 |ObjectNa|me, clas|
|00003df0| 73 20 4f 62 6a 65 63 74 | 43 6c 61 73 73 2c 20 6f |s Object|Class, o|
|00003e00| 70 74 69 6f 6e 61 6c 20 | 62 6f 6f 6c 20 4d 61 79 |ptional |bool May|
|00003e10| 46 61 69 6c 20 29 3b 0d | 0a 6e 61 74 69 76 65 20 |Fail );.|.native |
|00003e20| 73 74 61 74 69 63 20 66 | 69 6e 61 6c 20 66 75 6e |static f|inal fun|
|00003e30| 63 74 69 6f 6e 20 6f 62 | 6a 65 63 74 20 46 69 6e |ction ob|ject Fin|
|00003e40| 64 4f 62 6a 65 63 74 28 | 20 73 74 72 69 6e 67 20 |dObject(| string |
|00003e50| 4f 62 6a 65 63 74 4e 61 | 6d 65 2c 20 63 6c 61 73 |ObjectNa|me, clas|
|00003e60| 73 20 4f 62 6a 65 63 74 | 43 6c 61 73 73 20 29 3b |s Object|Class );|
|00003e70| 0d 0a 0d 0a 2f 2f 20 43 | 6f 6e 66 69 67 75 72 61 |....// C|onfigura|
|00003e80| 74 69 6f 6e 2e 0d 0a 6e | 61 74 69 76 65 28 35 33 |tion...n|ative(53|
|00003e90| 36 29 20 66 69 6e 61 6c | 20 66 75 6e 63 74 69 6f |6) final| functio|
|00003ea0| 6e 20 53 61 76 65 43 6f | 6e 66 69 67 28 29 3b 0d |n SaveCo|nfig();.|
|00003eb0| 0a 6e 61 74 69 76 65 20 | 73 74 61 74 69 63 20 66 |.native |static f|
|00003ec0| 69 6e 61 6c 20 66 75 6e | 63 74 69 6f 6e 20 53 74 |inal fun|ction St|
|00003ed0| 61 74 69 63 53 61 76 65 | 43 6f 6e 66 69 67 28 29 |aticSave|Config()|
|00003ee0| 3b 0d 0a 6e 61 74 69 76 | 65 20 73 74 61 74 69 63 |;..nativ|e static|
|00003ef0| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|00003f00| 52 65 73 65 74 43 6f 6e | 66 69 67 28 29 3b 0d 0a |ResetCon|fig();..|
|00003f10| 0d 0a 2f 2f 20 52 65 74 | 75 72 6e 20 61 20 72 61 |..// Ret|urn a ra|
|00003f20| 6e 64 6f 6d 20 6e 75 6d | 62 65 72 20 77 69 74 68 |ndom num|ber with|
|00003f30| 69 6e 20 74 68 65 20 67 | 69 76 65 6e 20 72 61 6e |in the g|iven ran|
|00003f40| 67 65 2e 0d 0a 66 69 6e | 61 6c 20 66 75 6e 63 74 |ge...fin|al funct|
|00003f50| 69 6f 6e 20 66 6c 6f 61 | 74 20 52 61 6e 64 52 61 |ion floa|t RandRa|
|00003f60| 6e 67 65 28 20 66 6c 6f | 61 74 20 4d 69 6e 2c 20 |nge( flo|at Min, |
|00003f70| 66 6c 6f 61 74 20 4d 61 | 78 20 29 0d 0a 7b 0d 0a |float Ma|x )..{..|
|00003f80| 20 20 20 20 72 65 74 75 | 72 6e 20 4d 69 6e 20 2b | retu|rn Min +|
|00003f90| 20 28 4d 61 78 20 2d 20 | 4d 69 6e 29 20 2a 20 46 | (Max - |Min) * F|
|00003fa0| 52 61 6e 64 28 29 3b 0d | 0a 7d 0d 0a 0d 0a 2f 2f |Rand();.|.}....//|
|00003fb0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003fc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003fd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003fe0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003ff0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0d 0a 2f |========|=====../|
|00004000| 2f 20 45 6e 67 69 6e 65 | 20 6e 6f 74 69 66 69 63 |/ Engine| notific|
|00004010| 61 74 69 6f 6e 20 66 75 | 6e 63 74 69 6f 6e 73 2e |ation fu|nctions.|
|00004020| 0d 0a 0d 0a 2f 2f 0d 0a | 2f 2f 20 43 61 6c 6c 65 |....//..|// Calle|
|00004030| 64 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 20 77 68 |d immedi|ately wh|
|00004040| 65 6e 20 65 6e 74 65 72 | 69 6e 67 20 61 20 73 74 |en enter|ing a st|
|00004050| 61 74 65 2c 20 77 68 69 | 6c 65 20 77 69 74 68 69 |ate, whi|le withi|
|00004060| 6e 0d 0a 2f 2f 20 74 68 | 65 20 47 6f 74 6f 53 74 |n..// th|e GotoSt|
|00004070| 61 74 65 20 63 61 6c 6c | 20 74 68 61 74 20 63 61 |ate call| that ca|
|00004080| 75 73 65 64 20 74 68 65 | 20 73 74 61 74 65 20 63 |used the| state c|
|00004090| 68 61 6e 67 65 2e 0d 0a | 2f 2f 0d 0a 65 76 65 6e |hange...|//..even|
|000040a0| 74 20 42 65 67 69 6e 53 | 74 61 74 65 28 29 3b 0d |t BeginS|tate();.|
|000040b0| 0a 0d 0a 2f 2f 0d 0a 2f | 2f 20 43 61 6c 6c 65 64 |...//../|/ Called|
|000040c0| 20 69 6d 6d 65 64 69 61 | 74 65 6c 79 20 62 65 66 | immedia|tely bef|
|000040d0| 6f 72 65 20 67 6f 69 6e | 67 20 6f 75 74 20 6f 66 |ore goin|g out of|
|000040e0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 74 61 | the cur|rent sta|
|000040f0| 74 65 2c 0d 0a 2f 2f 20 | 77 68 69 6c 65 20 77 69 |te,..// |while wi|
|00004100| 74 68 69 6e 20 74 68 65 | 20 47 6f 74 6f 53 74 61 |thin the| GotoSta|
|00004110| 74 65 20 63 61 6c 6c 20 | 74 68 61 74 20 63 61 75 |te call |that cau|
|00004120| 73 65 64 20 74 68 65 20 | 73 74 61 74 65 20 63 68 |sed the |state ch|
|00004130| 61 6e 67 65 2e 0d 0a 2f | 2f 20 0d 0a 65 76 65 6e |ange.../|/ ..even|
|00004140| 74 20 45 6e 64 53 74 61 | 74 65 28 29 3b 0d 0a 0d |t EndSta|te();...|
|00004150| 0a 00 | |.. | |
+--------+-------------------------+-------------------------+--------+--------+