瀏覽代碼

Review comments

pull/2050/head
raysan5 3 年之前
父節點
當前提交
670eab8b17
共有 2 個檔案被更改,包括 6 行新增4 行删除
  1. +2
    -1
      examples/models/models_skybox.c
  2. +4
    -3
      examples/models/models_yaw_pitch_roll.c

+ 2
- 1
examples/models/models_skybox.c 查看文件

@ -10,8 +10,9 @@
********************************************************************************************/
#include "raylib.h"
#include "rlgl.h"
#include "raymath.h"
#include "raymath.h" // Required for: MatrixPerspective(), MatrixLookAt()
#if defined(PLATFORM_DESKTOP)
#define GLSL_VERSION 330

+ 4
- 3
examples/models/models_yaw_pitch_roll.c 查看文件

@ -7,12 +7,13 @@
*
* Example contributed by Berni (@Berni8k) and reviewed by Ramon Santamaria (@raysan5)
*
* Copyright (c) 2017 Berni (@Berni8k) and Ramon Santamaria (@raysan5)
* Copyright (c) 2017-2021 Berni (@Berni8k) and Ramon Santamaria (@raysan5)
*
********************************************************************************************/
#include "raylib.h"
#include "raymath.h"
#include "raymath.h" // Required for: MatrixRotateXYZ()
int main(void)
{
@ -33,7 +34,7 @@ int main(void)
// Model loading
// NOTE: Diffuse map loaded automatically
Model model = LoadModel("resources/plane/plane.gltf");
Model model = LoadModel("resources/models/gltf/plane/plane.gltf");
float pitch = 0.0f;
float roll = 0.0f;

||||||
x
 
000:0
Loading…
取消
儲存