mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
Update 80_linalg.py
This commit is contained in:
parent
dcf51ceff6
commit
e99e5ff768
@ -469,3 +469,6 @@ b = a.to_struct()
|
||||
assert a.sizeof() == 8
|
||||
assert b.sizeof() == 8
|
||||
assert vec2.from_struct(b) == a
|
||||
|
||||
val = vec2.angle(vec2(-1, 0), vec2(0, -1))
|
||||
assert 1.57 < val < 1.58
|
Loading…
x
Reference in New Issue
Block a user