update dynamic and raylib-c to 4.0.0
This commit is contained in:
parent
3d675c66ae
commit
a44b33b561
6 changed files with 1031 additions and 1133 deletions
Binary file not shown.
BIN
dynamic/raylib/libraylib.so
Normal file → Executable file
BIN
dynamic/raylib/libraylib.so
Normal file → Executable file
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -23,8 +23,7 @@ pr.set_camera_mode(camera, pr.CAMERA_ORBITAL)
|
|||
|
||||
pos = pr.get_mouse_position()
|
||||
ray = pr.get_mouse_ray(pos, camera)
|
||||
rayhit = pr.get_ray_collision_ground(ray, 0)
|
||||
print(str(rayhit.position.x))
|
||||
|
||||
|
||||
while not pr.window_should_close():
|
||||
pr.update_camera(camera)
|
||||
|
@ -39,7 +38,5 @@ while not pr.window_should_close():
|
|||
|
||||
pos = pr.get_mouse_position()
|
||||
ray = pr.get_mouse_ray(pos, camera)
|
||||
rayhit = pr.get_ray_collision_ground(ray, 0)
|
||||
#print(str(rayhit.position.x))
|
||||
|
||||
pr.close_window()
|
||||
|
|
Reference in a new issue