mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Fix silly ancient math mistake
This commit is contained in:
parent
e5dda556c6
commit
8a93374a87
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class Vector
|
|||
|
||||
dot: (other, useZ) ->
|
||||
sum = @x * other.x + @y * other.y
|
||||
sum += @z + other.z if useZ
|
||||
sum += @z * other.z if useZ
|
||||
sum
|
||||
|
||||
# Not the strict projection, the other isn't converted to a unit vector first.
|
||||
|
|
Loading…
Reference in a new issue