Ver código fonte

Merge pull request #798 from bjornwah/master

Use typedef rather than #define in order to avoid issues in applicati…
pull/801/head
Ray 6 anos atrás
committed by GitHub
pai
commit
0ef146438a
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/raylib.h

+ 1
- 1
src/raylib.h Ver arquivo

@ -278,7 +278,7 @@ typedef struct Camera3D {
int type; // Camera type, defines projection type: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC int type; // Camera type, defines projection type: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
} Camera3D; } 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 // Camera2D type, defines a 2d camera
typedef struct Camera2D { typedef struct Camera2D {

Carregando…
Cancelar
Salvar