Help Implementation
This commit is contained in:
1 parent
c174ae57b1
commit
35e41271ed
8 files changed
+47
-14
No files matched your search
@@ -209,7 +209,7 @@ function newFrame () {
|
||||
}
|
||||
|
||||
/* Now we check if the resulting point is whin the current Frame. */
|
||||
|
||||
if (isNaN(checkPoint.x) || isNaN(checkPoint.y)) { return false }
|
||||
if (thisObject.type === 'Circle') {
|
||||
let distance = Math.sqrt(Math.pow(thisObject.position.x - point.x, 2) + Math.pow(thisObject.position.y - point.y, 2))
|
||||
|
||||
|
||||
Reference in new issue
Block a user