Skip to content

Commit 92dcc91

Browse files
update mac build to latest github version
1 parent a43b0fd commit 92dcc91

11 files changed

+3434
-2715
lines changed

examples/models/models_obj_loading.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020

2121
# Define the camera to look into our 3d world
2222
camera = ffi.new("struct Camera3D *")
23-
camera.position = [ 8.0, 8.0, 8.0 ] # Camera position
23+
camera.position = [ 50.0, 50.0, 50.0 ] # Camera position
2424
camera.target = [ 0.0, 2.5, 0.0 ] # Camera looking at point
2525
camera.up = [ 0.0, 1.0, 0.0 ] # Camera up vector (rotation towards target)
2626
camera.fovy = 45.0 # Camera field-of-view Y
2727
camera.type = CAMERA_PERSPECTIVE # Camera mode type
2828

29-
model = LoadModel(b"resources/models/castle.obj") # Load OBJ model
29+
model = LoadModel(b"resources/models/monkey/monkey4.gltf") # Load OBJ model
3030
texture = LoadTexture(b"resources/models/castle_diffuse.png") # Load model texture
31-
model.materials.maps[MAP_DIFFUSE].texture = texture # Set map diffuse texture
31+
#model.materials.maps[MAP_DIFFUSE].texture = texture # Set map diffuse texture
3232
position = [ 0.0, 0.0, 0.0 ] # Set model position
3333

3434
SetTargetFPS(60) # Set our game to run at 60 frames-per-second

libraylib_mac.a

-5.35 MB
Binary file not shown.

raylib/raylib.h

Lines changed: 115 additions & 95 deletions
Large diffs are not rendered by default.

raylib/raylib_modified.h

Lines changed: 102 additions & 69 deletions
Large diffs are not rendered by default.

raylib/static/_raylib_cffi.c

Lines changed: 3212 additions & 2546 deletions
Large diffs are not rendered by default.
-670 KB
Binary file not shown.
-670 KB
Binary file not shown.
-670 KB
Binary file not shown.
Binary file not shown.
1.28 MB
Binary file not shown.

0 commit comments

Comments
 (0)