浏览代码

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 {

正在加载...
取消
保存