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
alert('Hi'); |
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
<?php | |
$arr = [1, 2, 3]; | |
?> | |
A: <?= $arr[0] ?> | |
B: <?= $arr[1] ?> | |
C: <?= $arr[2] ?> |
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
{ | |
"name": "clamburger/ingress-queensland", | |
"license": "MIT", | |
"authors": [ | |
{ | |
"name": "Sam Horn", | |
"email": "samuel.horn1@gmail.com", | |
"role": "Developer" | |
} | |
], |
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
//A helper function to calculate the distance from one vector to another. | |
public double calcDist(LSL_Vector a, LSL_Vector b) | |
{ | |
double dx = a.x - b.x; | |
double dy = a.y - b.y; | |
double dz = a.z - b.z; | |
double dist = Math.Sqrt(dx * dx + dy * dy + dz * dz); | |
return dist; | |
} |