update raylib to 4.5
This commit is contained in:
parent
cbcb0719a6
commit
42d6762fbe
60 changed files with 6581 additions and 18340 deletions
|
@ -26,7 +26,6 @@ camera.up = [ 0.0, 1.0, 0.0 ] # Camera up vector (rotation towards targ
|
|||
camera.fovy = 45.0 # Camera field-of-view Y
|
||||
camera.projection = CAMERA_PERSPECTIVE # Camera mode type
|
||||
|
||||
rl.SetCameraMode(camera[0], rl.CAMERA_ORBITAL)
|
||||
|
||||
model = LoadModel(b"resources/models/house.obj") # Load OBJ model
|
||||
texture = LoadTexture(b"resources/models/house_diffuse.png") # Load model texture
|
||||
|
@ -42,7 +41,7 @@ while not WindowShouldClose(): # Detect window close button or ESC key
|
|||
#----------------------------------------------------------------------------------
|
||||
#...
|
||||
#----------------------------------------------------------------------------------
|
||||
rl.UpdateCamera(camera);
|
||||
rl.UpdateCamera(camera, rl.CAMERA_ORBITAL)
|
||||
# Draw
|
||||
#----------------------------------------------------------------------------------
|
||||
BeginDrawing()
|
||||
|
|
Reference in a new issue