change how PyRay detects pointers
This commit is contained in:
parent
9a3ffb525e
commit
cb7a574555
4 changed files with 6 additions and 3 deletions
|
@ -10,6 +10,9 @@ pyray = PyRay()
|
|||
pyray.init_window(800, 450, "Raylib texture test")
|
||||
pyray.set_target_fps(60)
|
||||
|
||||
image = pyray.gen_image_color(800, 400, (0,0,0,255) )
|
||||
texture = pyray.load_texture_from_image(image)
|
||||
pyray.update_texture(texture, image.data)
|
||||
|
||||
camera = pyray.Camera3D([18.0, 16.0, 18.0], [0.0, 0.0, 0.0], [0.0, 1.0, 0.0], 45.0, 0)
|
||||
image = pyray.load_image("examples/models/resources/heightmap.png")
|
||||
|
|
Reference in a new issue