Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Rotates coordinate system for velocities | |
* | |
* Takes velocities and alters them as if the coordinate system they're on was rotated | |
* | |
* @param Object | velocity | The velocity of an individual particle | |
* @param Float | angle | The angle of collision between two objects in radians | |
* @return Object | The altered x and y velocities after the coordinate system has been rotated | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 1 | |
0 2 | |
0 3 | |
0 4 | |
0 5 | |
0 6 | |
0 7 | |
0 8 | |
0 9 | |
0 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ code: "AF", code3: "AFG", name: "Afghanistan", number: "004" }, | |
{ code: "AL", code3: "ALB", name: "Albania", number: "008" }, | |
{ code: "DZ", code3: "DZA", name: "Algeria", number: "012" }, | |
{ code: "AS", code3: "ASM", name: "American Samoa", number: "016" }, | |
{ code: "AD", code3: "AND", name: "Andorra", number: "020" }, | |
{ code: "AO", code3: "AGO", name: "Angola", number: "024" }, | |
{ code: "AI", code3: "AIA", name: "Anguilla", number: "660" }, | |
{ code: "AQ", code3: "ATA", name: "Antarctica", number: "010" }, | |
{ code: "AG", code3: "ATG", name: "Antigua and Barbuda", number: "028" }, |