瀏覽代碼

Merge pull request #798 from bjornwah/master

Use typedef rather than #define in order to avoid issues in applicati…
pull/801/head
Ray 5 年之前
committed by GitHub
父節點
當前提交
0ef146438a
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/raylib.h

+ 1
- 1
src/raylib.h 查看文件

@ -278,7 +278,7 @@ typedef struct Camera3D {
int type; // Camera type, defines projection type: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
} Camera3D;
cp">#define Camera Camera3D // Camera type fallback, defaults to Camera3D
k">typedef Camera3D Camera; // Camera type fallback, defaults to Camera3D
// Camera2D type, defines a 2d camera
typedef struct Camera2D {

Loading…
取消
儲存