Methods
getDistance(x, y) → {Float}
Get the distance of a point from the camera
Parameters:
| Name | Type | Description |
|---|---|---|
x |
Integer | x coordinate of the point |
y |
Integer | y coordinate of the point |
Returns:
- Type
- Float