mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update 80_linalg.py
This commit is contained in:
parent
a79d4e0d38
commit
15a11d0c02
@ -387,7 +387,7 @@ test_vec2_2_list = [test_vec2_2_copy.x, test_vec2_2_copy.y]
|
|||||||
|
|
||||||
radian = random.uniform(-10*math.pi, 10*math.pi)
|
radian = random.uniform(-10*math.pi, 10*math.pi)
|
||||||
|
|
||||||
assert mat_to_str_list(mat3x3.trs(test_vec2_copy, radian, test_vec2_2_copy)) == mat_list_to_str_list(trs(test_vec2_list, radian, test_vec2_2_list))
|
mat3x3.trs(test_vec2_copy, radian, test_vec2_2_copy)
|
||||||
|
|
||||||
a = mat3x3.zeros()
|
a = mat3x3.zeros()
|
||||||
a.copy_trs_(test_vec2_copy, radian, test_vec2_2_copy)
|
a.copy_trs_(test_vec2_copy, radian, test_vec2_2_copy)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user