mirror of
https://github.com/vrld/hump.git
synced 2024-11-23 12:24:19 +00:00
Fix issue #1: Typo in assert
This commit is contained in:
parent
d306ce88fb
commit
0ab3a6898c
@ -59,7 +59,7 @@ function Vector.__add(a,b)
|
||||
end
|
||||
|
||||
function Vector.__sub(a,b)
|
||||
assert(isvector(a) and isvector(b), "Sub: wrong argument types (<vector> expexted)")
|
||||
assert(isvector(a) and isvector(b), "Sub: wrong argument types (<vector> expected)")
|
||||
return vector(a.x-b.x, a.y-b.y)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user