update pyray example in since pointer deref is now automatic, fixes issue #27
This commit is contained in:
parent
39b52c5989
commit
8dfee10e60
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ camera = pyray.Camera3D([18.0, 16.0, 18.0], [0.0, 0.0, 0.0], [0.0, 1.0, 0.0], 45
|
||||||
pyray.set_camera_mode(camera, pyray.CAMERA_ORBITAL)
|
pyray.set_camera_mode(camera, pyray.CAMERA_ORBITAL)
|
||||||
|
|
||||||
while not pyray.window_should_close():
|
while not pyray.window_should_close():
|
||||||
pyray.update_camera(pyray.pointer(camera))
|
pyray.update_camera(camera)
|
||||||
pyray.begin_drawing()
|
pyray.begin_drawing()
|
||||||
pyray.clear_background(RAYWHITE)
|
pyray.clear_background(RAYWHITE)
|
||||||
pyray.begin_mode_3d(camera)
|
pyray.begin_mode_3d(camera)
|
||||||
|
|
Reference in a new issue