update to raylib 4.2

This commit is contained in:
richard 2022-08-11 21:58:54 +01:00
parent 3a6deb2c04
commit 3e011b329a
19 changed files with 78 additions and 49 deletions

View file

@ -1,12 +0,0 @@
"""
This shows how to use the Pyray wrapper around the static binding.
"""
import pyray as pr
v1 = pr.Vector2(10,10)
v2 = pr.Vector2(20,20)
v3 = pr.vector2_add(v1, v2)
print(v3.x, v3.y)
v4 = pr.vector2_normalize((20,10))
print(v4.x, v4.y)