forked from lo-th/Oimo.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OimoPhysics.dev.comments.json
2164 lines (2164 loc) · 161 KB
/
OimoPhysics.dev.comments.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"com.element.oimo.physics.collision.broadphase.dbvt" : {
"DBVTNode" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.collision.broadphase.dbvt {"
},
{
"comment" : "/**\n * A node of the dynamic bounding volume tree.\n * @author saharan\n */",
"subject" : "public class DBVTNode {"
},
{
"comment" : "/**\n * The first child node of this node.\n */",
"subject" : "public var child1:DBVTNode;"
},
{
"comment" : "/**\n * The second child node of this node.\n */",
"subject" : "public var child2:DBVTNode;"
},
{
"comment" : "/**\n * The parent node of this tree.\n */",
"subject" : "public var parent:DBVTNode;"
},
{
"comment" : "/**\n * The proxy of this node. This has no value if this node is not leaf.\n */",
"subject" : "public var proxy:DBVTProxy;"
},
{
"comment" : "/**\n * The maximum distance from leaf nodes.\n */",
"subject" : "public var height:int;"
},
{
"comment" : "/**\n * The AABB of this node.\n */",
"subject" : "public var aabb:AABB;"
}
],
"DBVTBroadPhase" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.collision.broadphase.dbvt {"
},
{
"comment" : "/**\n * A broad-phase algorithm using dynamic bounding volume tree.\n * @author saharan\n */",
"subject" : "public class DBVTBroadPhase extends BroadPhase {"
}
],
"DBVTProxy" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.collision.broadphase.dbvt {"
},
{
"comment" : "/**\n * A proxy for dynamic bounding volume tree broad-phase.\n * @author saharan\n */",
"subject" : "public class DBVTProxy extends Proxy {"
},
{
"comment" : "/**\n * The leaf of the proxy.\n */",
"subject" : "public var leaf:DBVTNode;"
}
],
"DBVT" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.collision.broadphase.dbvt {"
},
{
"comment" : "/**\n * A dynamic bounding volume tree for the broad-phase algorithm.\n * @author saharan\n */",
"subject" : "public class DBVT {"
},
{
"comment" : "/**\n * The root of the tree.\n */",
"subject" : "public var root:DBVTNode;"
},
{
"comment" : "/**\n * Move a leaf.\n * @paramleaf\n */",
"subject" : "public function moveLeaf(leaf:DBVTNode):void {"
},
{
"comment" : "/**\n * Insert a leaf to the tree.\n * @paramnode\n */",
"subject" : "public function insertLeaf(leaf:DBVTNode):void {"
},
{
"comment" : "/**\n * Delete a leaf from the tree.\n * @paramnode\n */",
"subject" : "public function deleteLeaf(leaf:DBVTNode):void {"
}
]
},
"com.element.oimo.physics" : {
"OimoPhysics" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics {"
},
{
"comment" : "/**\n * Information of OimoPhysics.\n */",
"subject" : "public final class OimoPhysics {"
},
{
"comment" : "/**\n * Version of OimoPhysics.\n */",
"subject" : "public static const VERSION:String = \"1.1.0a\";"
}
]
},
"com.element.oimo.physics.constraint" : {
"of" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.constraint {"
},
{
"comment" : "/**\n * The base class of all type of the constraints.\n * @author saharan\n */",
"subject" : "public class Constraint {"
},
{
"comment" : "/**\n * The parent world of the constraint.\n */",
"subject" : "public var parent:World;"
},
{
"comment" : "/**\n * The first body of the constraint.\n */",
"subject" : "public var body1:RigidBody;"
},
{
"comment" : "/**\n * The second body of the constraint.\n */",
"subject" : "public var body2:RigidBody;"
},
{
"comment" : "/**\n * Internal\n */",
"subject" : "public var addedToIsland:Boolean;"
},
{
"comment" : "/**\n * Prepare for solving the constraint.\n * @paramtimeStep\n * @paraminvTimeStep\n */",
"subject" : "public function preSolve(timeStep:Number, invTimeStep:Number):void {"
},
{
"comment" : "/**\n * Solve the constraint.\n * This is usually called iteratively.\n */",
"subject" : "public function solve():void {"
},
{
"comment" : "/**\n * Do the post-processing.\n */",
"subject" : "public function postSolve():void {"
}
]
},
"com.element.oimo.physics.demo" : {
"PyramidDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class PyramidDemo extends DemoBase {"
}
],
"BasicDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class BasicDemo extends DemoBase {"
}
],
"VehicleDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class VehicleDemo extends DemoBase {"
}
],
"ShapesDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class ShapesDemo extends DemoBase {"
}
],
"BridgeDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class BridgeDemo extends DemoBase {"
}
],
"HingeJointDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class HingeJointDemo extends DemoBase {"
}
],
"FrictionDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class FrictionDemo extends DemoBase {"
}
],
"BallAndSocketJointDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class BallAndSocketJointDemo extends DemoBase {"
}
],
"OimoPhysicsDemos" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * OimoPhysics demos.\n * @author saharan\n */",
"subject" : "[SWF(width = \"640\", height = \"480\", frameRate = \"60\")]"
}
],
"RestitutionDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class RestitutionDemo extends DemoBase {"
}
],
"DistanceJointDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class DistanceJointDemo extends DemoBase {"
}
],
"DemoBase" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class DemoBase {"
}
],
"CollisionFilteringDemo" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.demo {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class CollisionFilteringDemo extends DemoBase {"
}
]
},
"com.element.oimo.physics.util" : {
"DebugDraw" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.util {"
},
{
"comment" : "/**\n * Simple world renderer\n */",
"subject" : "public class DebugDraw {"
},
{
"comment" : "/**\n * Render the world.\n */",
"subject" : "public function render():void {"
}
],
"Performance" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.util {"
},
{
"comment" : "/**\n * ワールドが物理演算に要した時間などを記録するクラスです。\n * 特に表記がない場合、時間の単位はミリ秒です。\n * @author saharan\n */",
"subject" : "public class Performance {"
},
{
"comment" : "/**\n * 広域衝突判定に要した時間です。\n */",
"subject" : "public var broadPhaseTime:uint;"
},
{
"comment" : "/**\n * 詳細な衝突判定に要した時間です。\n */",
"subject" : "public var narrowPhaseTime:uint;"
},
{
"comment" : "/**\n * 拘束や積分の計算に要した時間です。\n */",
"subject" : "public var solvingTime:uint;"
},
{
"comment" : "/**\n * その他の更新に要した時間です。\n */",
"subject" : "public var updatingTime:uint;"
},
{
"comment" : "/**\n * ステップ計算に要した合計時間です。\n */",
"subject" : "public var totalTime:uint;"
},
{
"comment" : "/**\n * 新しく Performance オブジェクトを作成します。\n */",
"subject" : "public function Performance() {"
}
]
},
"com.element.oimo.math" : {
"Vec3" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.math {"
},
{
"comment" : "/**\n * A 3D vector. This supports three-dimansional vector operations.\n * @author saharan\n */",
"subject" : "public class Vec3 {"
},
{
"comment" : "/**\n * Constructor.\n * If the parameters are empty, the vector will be set to the zero vector.\n * @paramx\n * @paramy\n * @paramz\n */",
"subject" : "public function Vec3(x:Number = 0, y:Number = 0, z:Number = 0) {"
},
{
"comment" : "/**\n * Initialize the vector.\n * If the parameters are empty, the vector will be set to the zero vector.\n * @paramx\n * @paramy\n * @paramz\n * @return\n */",
"subject" : "public function init(x:Number = 0, y:Number = 0, z:Number = 0):Vec3 {"
},
{
"comment" : "/**\n * this = v1 + v2\n * @paramv1\n * @paramv2\n * @return\n */",
"subject" : "public function add(v1:Vec3, v2:Vec3):Vec3 {"
},
{
"comment" : "/**\n * this = this + v\n * @paramv\n * @return\n */",
"subject" : "public function addEqual(v:Vec3):Vec3 {"
},
{
"comment" : "/**\n * this = v1 - v2\n * @paramv1\n * @paramv2\n * @return\n */",
"subject" : "public function sub(v1:Vec3, v2:Vec3):Vec3 {"
},
{
"comment" : "/**\n * this = this - v\n * @paramv\n * @return\n */",
"subject" : "public function subEqual(v:Vec3):Vec3 {"
},
{
"comment" : "/**\n * this = v * s\n * @paramv\n * @params\n * @return\n */",
"subject" : "public function scale(v:Vec3, s:Number):Vec3 {"
},
{
"comment" : "/**\n * this = this * s\n * @params\n * @return\n */",
"subject" : "public function scaleEqual(s:Number):Vec3 {"
},
{
"comment" : "/**\n * Get the dot production of this vector and v.\n * @paramv\n * @return\n */",
"subject" : "public function dot(v:Vec3):Number {"
},
{
"comment" : "/**\n * Set this vector to the cross product of v1 and v2.\n * @paramv1\n * @paramv2\n * @return\n */",
"subject" : "public function cross(v1:Vec3, v2:Vec3):Vec3 {"
},
{
"comment" : "/**\n * this = m * v\n * @paramm\n * @paramv\n * @return\n */",
"subject" : "public function mulMat(m:Mat33, v:Vec3):Vec3 {"
},
{
"comment" : "/**\n * Set this vector to the normalized vector of v.\n * @paramv\n * @return\n */",
"subject" : "public function normalize(v:Vec3):Vec3 {"
},
{
"comment" : "/**\n * this = -v\n * @paramv\n * @return\n */",
"subject" : "public function invert(v:Vec3):Vec3 {"
},
{
"comment" : "/**\n * Get the length of the vector.\n * @return\n */",
"subject" : "public function length():Number {"
},
{
"comment" : "/**\n * this = v\n * @paramv\n * @return\n */",
"subject" : "public function copy(v:Vec3):Vec3 {"
},
{
"comment" : "/**\n * Get the clone of the vector.\n * @return\n */",
"subject" : "public function clone():Vec3 {"
},
{
"comment" : "/**\n * Get the string of the vector.\n * @return\n */",
"subject" : "public function toString():String {"
}
],
"Mat33" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.math {"
},
{
"comment" : "/**\n * A 3x3 matrix. This supports rotation, skewing, and scaling transformations.\n * @author saharan\n */",
"subject" : "public class Mat33 {"
},
{
"comment" : "/**\n * Constructor.\n * If the parameters are empty, the matrix will be set to the itentity matrix.\n * @parame00\n * @parame01\n * @parame02\n * @parame10\n * @parame11\n * @parame12\n * @parame20\n * @parame21\n * @parame22\n */",
"subject" : "public function Mat33("
},
{
"comment" : "/**\n * Initialize the matrix.\n * If the parameters are empty, the matrix will be set to the itentity matrix.\n * @parame00\n * @parame01\n * @parame02\n * @parame10\n * @parame11\n * @parame12\n * @parame20\n * @parame21\n * @parame22\n * @return\n */",
"subject" : "public function init("
},
{
"comment" : "/**\n * this = m1 + m2\n * @paramm1\n * @paramm2\n * @return\n */",
"subject" : "public function add(m1:Mat33, m2:Mat33):Mat33 {"
},
{
"comment" : "/**\n * this = this + m\n * @paramm\n * @return\n */",
"subject" : "public function addEqual(m:Mat33):Mat33 {"
},
{
"comment" : "/**\n * this = m1 - m2\n * @paramm1\n * @paramm2\n * @return\n */",
"subject" : "public function sub(m1:Mat33, m2:Mat33):Mat33 {"
},
{
"comment" : "/**\n * this = this - m\n * @paramm\n * @return\n */",
"subject" : "public function subEqual(m:Mat33):Mat33 {"
},
{
"comment" : "/**\n * this = m * s\n * @paramm\n * @params\n * @return\n */",
"subject" : "public function scale(m:Mat33, s:Number):Mat33 {"
},
{
"comment" : "/**\n * this = this * s\n * @params\n * @return\n */",
"subject" : "public function scaleEqual(s:Number):Mat33 {"
},
{
"comment" : "/**\n * this = m1 * m2\n * @paramm1\n * @paramm2\n * @return\n */",
"subject" : "public function mul(m1:Mat33, m2:Mat33):Mat33 {"
},
{
"comment" : "/**\n * Set this matrix to the multiplication of m and scaling matrix.\n * this = [scaling matrix] * m (prepend == true)\n * this = m * [scaling matrix] (prepend == false)\n * @paramm\n * @paramsx \n * @paramsy\n * @paramsz\n * @paramprepend\n * @return\n */",
"subject" : "public function mulScale(m:Mat33, sx:Number, sy:Number, sz:Number, prepend:Boolean = false):Mat33 {"
},
{
"comment" : "/**\n * Set this matrix to the multiplication of m and rotation matrix.\n * this = [rotation matrix] * m (prepend == true)\n * this = m * [rotation matrix] (prepend == false)\n * @paramm\n * @paramrad\n * @paramax\n * @paramay\n * @paramaz\n * @paramprepend\n * @return\n */",
"subject" : "public function mulRotate(m:Mat33, rad:Number, ax:Number, ay:Number, az:Number, prepend:Boolean = false):Mat33 {"
},
{
"comment" : "/**\n * Set this matrix to the transposed matrix of m.\n * @paramm\n * @return\n */",
"subject" : "public function transpose(m:Mat33):Mat33 {"
},
{
"comment" : "/**\n * Set this matrix to the rotation matrix of q.\n * @paramq\n * @return\n */",
"subject" : "public function setQuat(q:Quat):Mat33 {"
},
{
"comment" : "/**\n * this = m ^ -1\n * @paramm\n * @return\n */",
"subject" : "public function invert(m:Mat33):Mat33 {"
},
{
"comment" : "/**\n * this = m\n * @paramm\n * @return\n */",
"subject" : "public function copy(m:Mat33):Mat33 {"
},
{
"comment" : "/**\n * this = m\n * @paramm\n * @return\n */",
"subject" : "public function copyMat44(m:Mat44):Mat33 {"
},
{
"comment" : "/**\n * Get the clone of the matrix.\n * @return\n */",
"subject" : "public function clone():Mat33 {"
},
{
"comment" : "/**\n * Get the string of the matrix.\n * @return\n */",
"subject" : "public function toString():String {"
}
],
"Mat44" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.math {"
},
{
"comment" : "/**\n * A 4x4 matrix. This supports three-dimentional transformations perfectly.\n * @author saharan\n */",
"subject" : "public class Mat44 {"
},
{
"comment" : "/**\n * Constructor.\n * If the parameters are empty, the matrix will be set to the identity matrix.\n * @parame00\n * @parame01\n * @parame02\n * @parame03\n * @parame10\n * @parame11\n * @parame12\n * @parame13\n * @parame20\n * @parame21\n * @parame22\n * @parame23\n * @parame30\n * @parame31\n * @parame32\n * @parame33\n */",
"subject" : "public function Mat44("
},
{
"comment" : "/**\n * Initialize the matrix.\n * If the parameters are empty, the matrix will be set to the identity matrix.\n * @parame00\n * @parame01\n * @parame02\n * @parame03\n * @parame10\n * @parame11\n * @parame12\n * @parame13\n * @parame20\n * @parame21\n * @parame22\n * @parame23\n * @parame30\n * @parame31\n * @parame32\n * @parame33\n * @return\n */",
"subject" : "public function init("
},
{
"comment" : "/**\n * this = m1 + m2\n * @paramm1\n * @paramm2\n * @return\n */",
"subject" : "public function add(m1:Mat44, m2:Mat44):Mat44 {"
},
{
"comment" : "/**\n * this = m1 - m2\n * @paramm1\n * @paramm2\n * @return\n */",
"subject" : "public function sub(m1:Mat44, m2:Mat44):Mat44 {"
},
{
"comment" : "/**\n * this = m * s\n * @paramm\n * @params\n * @return\n */",
"subject" : "public function scale(m:Mat44, s:Number):Mat44 {"
},
{
"comment" : "/**\n * this = m1 * m2\n * @paramm1\n * @paramm2\n * @return\n */",
"subject" : "public function mul(m1:Mat44, m2:Mat44):Mat44 {"
},
{
"comment" : "/**\n * Set this matrix to the multiplication of m and scaling matrix.\n * this = [scaling matrix] * m (prepend == true)\n * this = m * [scaling matrix] (prepend == false)\n * @paramm\n * @paramsx \n * @paramsy\n * @paramsz\n * @paramprepend\n * @return\n */",
"subject" : "public function mulScale(m:Mat44, sx:Number, sy:Number, sz:Number, prepend:Boolean = false):Mat44 {"
},
{
"comment" : "/**\n * Set this matrix to the multiplication of m and rotation matrix.\n * this = [rotation matrix] * m (prepend == true)\n * this = m * [rotation matrix] (prepend == false)\n * @paramm\n * @paramrad\n * @paramax\n * @paramay\n * @paramaz\n * @paramprepend\n * @return\n */",
"subject" : "public function mulRotate(m:Mat44, rad:Number, ax:Number, ay:Number, az:Number, prepend:Boolean = false):Mat44 {"
},
{
"comment" : "/**\n * Set this matrix to the multiplication of m and translation matrix.\n * this = [translation matrix] * m (prepend == true)\n * this = m * [translation matrix] (prepend == false)\n * @paramm\n * @paramtx\n * @paramty\n * @paramtz\n * @paramprepend\n * @return\n */",
"subject" : "public function mulTranslate(m:Mat44, tx:Number, ty:Number, tz:Number, prepend:Boolean = false):Mat44 {"
},
{
"comment" : "/**\n * Set this matrix to the transposed matrix of m.\n * @paramm\n * @return\n */",
"subject" : "public function transpose(m:Mat44):Mat44 {"
},
{
"comment" : "/**\n * Set this matrix to the rotation matrix of q.\n * @paramq\n * @return\n */",
"subject" : "public function setQuat(q:Quat):Mat44 {"
},
{
"comment" : "/**\n * this = m ^ -1\n * @paramm\n * @return\n */",
"subject" : "public function invert(m:Mat44):Mat44 {"
},
{
"comment" : "/**\n * Set the matrix to right-handed view matrix.\n * @parameyeX\n * @parameyeY\n * @parameyeZ\n * @paramatX \n * @paramatY\n * @paramatZ\n * @paramupX\n * @paramupY\n * @paramupZ\n * @return\n */",
"subject" : "public function lookAt("
},
{
"comment" : "/**\n * Set the matrix to the right-handed perspective projection matrix.\n * @paramfovY\n * @paramaspect\n * @paramnear\n * @paramfar\n * @return\n */",
"subject" : "public function perspective(fovY:Number, aspect:Number, near:Number, far:Number):Mat44 {"
},
{
"comment" : "/**\n * Set the matrix to the right-handed orthogonal projection matrix.\n * @paramwidth\n * @paramheight\n * @paramnear\n * @paramfar\n * @return\n */",
"subject" : "public function ortho(width:Number, height:Number, near:Number, far:Number):Mat44 {"
},
{
"comment" : "/**\n * this = m\n * @paramm\n * @return\n */",
"subject" : "public function copy(m:Mat44):Mat44 {"
},
{
"comment" : "/**\n * this = m\n * @paramm\n * @return\n */",
"subject" : "public function copyMat33(m:Mat33):Mat44 {"
},
{
"comment" : "/**\n * Get the clone of the matrix.\n * @return\n */",
"subject" : "public function clone():Mat44 {"
},
{
"comment" : "/**\n * Get the string of the matrix.\n * @return\n */",
"subject" : "public function toString():String {"
}
],
"Quat" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.math {"
},
{
"comment" : "/**\n * A quaternion. This is used to represent three-dimansional orientations of rigid bodies.\n * @author saharan\n */",
"subject" : "public class Quat {"
},
{
"comment" : "/**\n * Constructor.\n * If the parameters are empty, the quaternion will be set to the identity quaternion.\n * @params\n * @paramx\n * @paramy\n * @paramz\n */",
"subject" : "public function Quat(s:Number = 1, x:Number = 0, y:Number = 0, z:Number = 0) {"
},
{
"comment" : "/**\n * Initialize the quaternion.\n * If the parameters are empty, the quaternion will be set to the identity quaternion.\n * @params\n * @paramx\n * @paramy\n * @paramz\n * @return\n */",
"subject" : "public function init(s:Number = 1, x:Number = 0, y:Number = 0, z:Number = 0):Quat {"
},
{
"comment" : "/**\n * this = q1 + q2\n * @paramq1\n * @paramq2\n * @return\n */",
"subject" : "public function add(q1:Quat, q2:Quat):Quat {"
},
{
"comment" : "/**\n * this = q1 - q2\n * @paramq1\n * @paramq2\n * @return\n */",
"subject" : "public function sub(q1:Quat, q2:Quat):Quat {"
},
{
"comment" : "/**\n * this = q * s\n * @paramq\n * @params\n * @return\n */",
"subject" : "public function scale(q:Quat, s:Number):Quat {"
},
{
"comment" : "/**\n * this = q1 * q2\n * @paramq1\n * @paramq2\n * @return\n */",
"subject" : "public function mul(q1:Quat, q2:Quat):Quat {"
},
{
"comment" : "/**\n * Set this quaternion to the shortest arc rotation quaternion.\n * Note that v1 and v2 must be normalized.\n * @paramv1 from\n * @paramv2 to\n * @return\n */",
"subject" : "public function arc(v1:Vec3, v2:Vec3):Quat {"
},
{
"comment" : "/**\n * Set this quaternion to the normalized quaternion of q.\n * @paramq\n * @return\n */",
"subject" : "public function normalize(q:Quat):Quat {"
},
{
"comment" : "/**\n * this = -q\n * @paramq\n * @return\n */",
"subject" : "public function invert(q:Quat):Quat {"
},
{
"comment" : "/**\n * Get the length of the quaternion.\n * @return\n */",
"subject" : "public function length():Number {"
},
{
"comment" : "/**\n * this = q\n * @paramq\n * @return\n */",
"subject" : "public function copy(q:Quat):Quat {"
},
{
"comment" : "/**\n * Get the clone of the quaternion.\n * @return\n */",
"subject" : "public function clone(q:Quat):Quat {"
},
{
"comment" : "/**\n * Get the string of the quaternion.\n * @return\n */",
"subject" : "public function toString():String {"
}
]
},
"com.element.oimo.physics.collision.broadphase.sap" : {
"SAPBroadPhase" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.collision.broadphase.sap {"
},
{
"comment" : "/**\n * A broad-phase collision detection algorithm using sweep and prune.\n * @author saharan\n */",
"subject" : "public class SAPBroadPhase extends BroadPhase {"
},
{
"comment" : "/**\n * @inheritDoc\n */",
"subject" : "override public function addProxy(proxy:Proxy):void {"
},
{
"comment" : "/**\n * @inheritDoc\n */",
"subject" : "override public function removeProxy(proxy:Proxy):void {"
}
],
"SAPAxis" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.collision.broadphase.sap {"
},
{
"comment" : "/**\n * A projection axis for sweep and prune broad-phase.\n * @author saharan\n */",
"subject" : "public class SAPAxis {"
}
],
"SAPProxy" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.collision.broadphase.sap {"
},
{
"comment" : "/**\n * A proxy for sweep and prune broad-phase.\n * @author saharan\n */",
"subject" : "public class SAPProxy extends Proxy {"
},
{
"comment" : "/**\n * The minimum elements on each axis.\n */",
"subject" : "public const min:Vector.<SAPElement> = new Vector.<SAPElement>(3, true);"
},
{
"comment" : "/**\n * The maximum elements on each axis.\n */",
"subject" : "public const max:Vector.<SAPElement> = new Vector.<SAPElement>(3, true);"
},
{
"comment" : "/**\n * Type of the axis to which the proxy belongs to. [0:none, 1:dynamic, 2:static]\n */",
"subject" : "public var belongsTo:int;"
},
{
"comment" : "/**\n * Returns whether the proxy is dynamic or not.\n * @return\n */",
"subject" : "public function isDynamic():Boolean {"
},
{
"comment" : "/**\n * @inheritDoc\n */",
"subject" : "override public function update():void {"
}
],
"SAPElement" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.collision.broadphase.sap {"
},
{
"comment" : "/**\n * An element of proxies.\n * @author saharan\n */",
"subject" : "public class SAPElement {"
},
{
"comment" : "/**\n * The parent proxy.\n */",
"subject" : "public var proxy:SAPProxy;"
},
{
"comment" : "/**\n * The pair element.\n */",
"subject" : "public var pair:SAPElement;"
},
{
"comment" : "/**\n * The value of the element.\n */",
"subject" : "public var value:Number;"
},
{
"comment" : "/**\n * Whether the element has maximum value or not.\n */",
"subject" : "public var max:Boolean;"
},
{
"comment" : "/**\n * The minimum element on other axis.\n */",
"subject" : "public var min1:SAPElement;"
},
{
"comment" : "/**\n * The maximum element on other axis.\n */",
"subject" : "public var max1:SAPElement;"
},
{
"comment" : "/**\n * The minimum element on other axis.\n */",
"subject" : "public var min2:SAPElement;"
},
{
"comment" : "/**\n * The maximum element on other axis.\n */",
"subject" : "public var max2:SAPElement;"
}
]
},
"com.element.oimo.physics.constraint.contact" : {
"Contact" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.constraint.contact {"
},
{
"comment" : "/**\n * A contact is a pair of shapes whose axis-aligned bounding boxes are overlapping.\n * @author saharan\n */",
"subject" : "public class Contact {"
},
{
"comment" : "/**\n * The first shape.\n */",
"subject" : "public var shape1:Shape;"
},
{
"comment" : "/**\n * The second shape.\n */",
"subject" : "public var shape2:Shape;"
},
{
"comment" : "/**\n * The first rigid body.\n */",
"subject" : "public var body1:RigidBody;"
},
{
"comment" : "/**\n * The second rigid body.\n */",
"subject" : "public var body2:RigidBody;"
},
{
"comment" : "/**\n * The previous contact in the world.\n */",
"subject" : "public var prev:Contact;"
},
{
"comment" : "/**\n * The next contact in the world.\n */",
"subject" : "public var next:Contact;"
},
{
"comment" : "/**\n * Internal\n */",
"subject" : "public var persisting:Boolean;"
},
{
"comment" : "/**\n * Whether both the rigid bodies are sleeping or not.\n */",
"subject" : "public var sleeping:Boolean;"
},
{
"comment" : "/**\n * The collision detector between two shapes.\n */",
"subject" : "public var detector:CollisionDetector;"
},
{
"comment" : "/**\n * The contact manifold of the contact.\n */",
"subject" : "public var manifold:ContactManifold;"
},
{
"comment" : "/**\n * The contact constraint of the contact.\n */",
"subject" : "public var constraint:ContactConstraint;"
},
{
"comment" : "/**\n * Whether the shapes are touching or not.\n */",
"subject" : "public var touching:Boolean;"
},
{
"comment" : "/**\n * Update the contact manifold.\n */",
"subject" : "public function updateManifold():void {"
},
{
"comment" : "/**\n * Attach the contact to the shapes.\n * @paramshape1\n * @paramshape2\n */",
"subject" : "public function attach(shape1:Shape, shape2:Shape):void {"
},
{
"comment" : "/**\n * Detach the contact from the shapes.\n */",
"subject" : "public function detach():void {"
}
],
"holds" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.constraint.contact {"
},
{
"comment" : "/**\n * The class holds details of the contact point.\n * @author saharan\n */",
"subject" : "public class ManifoldPoint {"
},
{
"comment" : "/**\n * The position of this manifold point.\n */",
"subject" : "public var position:Vec3;"
},
{
"comment" : "/**\n * The position in the first shape's coordinate.\n */",
"subject" : "public var localPoint1:Vec3;"
},
{
"comment" : "/**\n * The position in the second shape's coordinate.\n */",
"subject" : "public var localPoint2:Vec3;"
},
{
"comment" : "/**\n * The normal vector of this manifold point.\n */",
"subject" : "public var normal:Vec3;"
},
{
"comment" : "/**\n * The tangent vector of this manifold point.\n */",
"subject" : "public var tangent:Vec3;"
},
{
"comment" : "/**\n * The binormal vector of this manifold point.\n */",
"subject" : "public var binormal:Vec3;"
},
{
"comment" : "/**\n * The impulse in normal direction.\n */",
"subject" : "public var normalImpulse:Number;"
},
{
"comment" : "/**\n * The impulse in tangent direction.\n */",
"subject" : "public var tangentImpulse:Number;"
},
{
"comment" : "/**\n * The impulse in binormal direction.\n */",
"subject" : "public var binormalImpulse:Number;"
},
{
"comment" : "/**\n * The denominator in normal direction.\n */",
"subject" : "public var normalDenominator:Number;"
},
{
"comment" : "/**\n * The denominator in tangent direction.\n */",
"subject" : "public var tangentDenominator:Number;"
},
{
"comment" : "/**\n * The denominator in binormal direction.\n */",
"subject" : "public var binormalDenominator:Number;"
},
{
"comment" : "/**\n * Whether this manifold point is persisting or not.\n */",
"subject" : "public var warmStarted:Boolean;"
},
{
"comment" : "/**\n * The depth of penetration.\n */",
"subject" : "public var penetration:Number;"
}
],
"ContactConstraint" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.constraint.contact {"
},
{
"comment" : "/**\n * ...\n * @author saharan\n */",
"subject" : "public class ContactConstraint extends Constraint {"
},
{
"comment" : "/**\n * The contact manifold of the constraint.\n */",
"subject" : "public var manifold:ContactManifold;"
},
{
"comment" : "/**\n * The coefficient of restitution of the constraint.\n */",
"subject" : "public var restitution:Number;"
},
{
"comment" : "/**\n * The coefficient of friction of the constraint.\n */",
"subject" : "public var friction:Number;"
},
{
"comment" : "/**\n * Attach the constraint to the bodies.\n */",
"subject" : "public function attach():void {"
},
{
"comment" : "/**\n * Detach the constraint from the bodies.\n */",
"subject" : "public function detach():void {"
},
{
"comment" : "/**\n * @inheritDoc\n */",
"subject" : "override public function preSolve(timeStep:Number, invTimeStep:Number):void {"
},
{
"comment" : "/**\n * @inheritDoc\n */",
"subject" : "override public function solve():void {"
},
{
"comment" : "/**\n * @inheritDoc\n */",
"subject" : "override public function postSolve():void {"
}
],
"ContactManifold" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.constraint.contact {"
},
{
"comment" : "/**\n * A contact manifold between two shapes.\n * @author saharan\n */",
"subject" : "public class ContactManifold {"
},
{
"comment" : "/**\n * The first rigid body.\n */",
"subject" : "public var body1:RigidBody;"
},
{
"comment" : "/**\n * The second rigid body.\n */",
"subject" : "public var body2:RigidBody;"
},
{
"comment" : "/**\n * The manifold points.\n */",
"subject" : "public var points:Vector.<ManifoldPoint>;"
},
{
"comment" : "/**\n * The number of manifold points.\n */",
"subject" : "public var numPoints:uint;"
},
{
"comment" : "/**\n * Reset the manifold.\n * @paramshape1\n * @paramshape2\n */",
"subject" : "public function reset(shape1:Shape, shape2:Shape):void {"
},
{
"comment" : "/**\n * Add a point into this manifold.\n * @paramx\n * @paramy\n * @paramz\n * @paramnormalX\n * @paramnormalY\n * @paramnormalZ\n * @parampenetration\n * @paramflip\n */",
"subject" : "public function addPoint(x:Number, y:Number, z:Number, normalX:Number, normalY:Number, normalZ:Number, penetration:Number, flip:Boolean):void {"
}
],
"ContactPointDataBuffer" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.constraint.contact {"
}
],
"ImpulseDataBuffer" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.constraint.contact {"
}
],
"ContactLink" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.physics.constraint.contact {"
},
{
"comment" : "/**\n * A link list of contacts.\n * @author saharan\n */",
"subject" : "public class ContactLink {"
},
{
"comment" : "/**\n * The previous contact link.\n */",
"subject" : "public var prev:ContactLink;"
},
{
"comment" : "/**\n * The next contact link.\n */",
"subject" : "public var next:ContactLink;"
},
{
"comment" : "/**\n * The shape of the contact.\n */",
"subject" : "public var shape:Shape;"
},
{
"comment" : "/**\n * The other rigid body.\n */",
"subject" : "public var body:RigidBody;"
},
{
"comment" : "/**\n * The contact of the link.\n */",
"subject" : "public var contact:Contact;"
}
]
},
"com.element.oimo.glmini" : {
"OimoGLMini" : [
{
"comment" : "/* Copyright (c) 2012-2013 EL-EMENT saharan\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this\n * software and associated documentation * files (the \"Software\"), to deal in the Software\n * without restriction, including without limitation the rights to use, copy, * modify, merge,\n * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to\n * whom the Software is furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all copies or\n * substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\n * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */",
"subject" : "package com.element.oimo.glmini {"
},
{