Skip to content

Commit 6c78a5b

Browse files
main for testing
1 parent 4df676b commit 6c78a5b

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Use the [project generator](https://github.com/electronstudio/python-raylib-temp
4444

4545
<a href="https://www.youtube.com/watch?v=UoAsDlUwjy0"><img src="https://img.youtube.com/vi/UoAsDlUwjy0/0.jpg" alt="video"/></a>
4646

47-
47+
<a href="https://www.youtube.com/watch?v=OSRbm2ocVjY"><img src="https://img.youtube.com/vi/OSRbm2ocVjY/0.jpg" alt="video"/></a>
4848

4949
[more videos](https://www.youtube.com/@FinFET/videos)
5050

raylib/__main__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from pyray import *
2+
3+
init_window(800, 450, "Raylib test")
4+
camera = Camera3D([18.0, 16.0, 18.0], [0.0, 0.0, 0.0], [0.0, 1.0, 0.0], 45.0, 0)
5+
while not window_should_close():
6+
update_camera(camera, CameraMode.CAMERA_ORBITAL)
7+
begin_drawing()
8+
clear_background(WHITE)
9+
begin_mode_3d(camera)
10+
draw_grid(20, 1.0)
11+
end_mode_3d()
12+
draw_text("Raylib is working", 190, 200, 20, VIOLET)
13+
draw_fps(20, 20)
14+
end_drawing()
15+
close_window()

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "6.0.0.0rc4"
1+
__version__ = "6.0.0.0rc5"

0 commit comments

Comments
 (0)