Ver código fonte

Review function prototype

pull/873/head
Ray 5 anos atrás
pai
commit
498c172d8e
2 arquivos alterados com 3 adições e 3 exclusões
  1. +1
    -1
      src/raylib.h
  2. +2
    -2
      src/rlgl.h

+ 1
- 1
src/raylib.h Ver arquivo

@ -1304,7 +1304,7 @@ RLAPI void SetShaderValueMatrix(Shader shader, int uniformLoc, Matrix mat);
RLAPI void SetShaderValueTexture(Shader shader, int uniformLoc, Texture2D texture); // Set shader uniform value for texture
RLAPI void SetMatrixProjection(Matrix proj); // Set a custom projection matrix (replaces internal projection matrix)
RLAPI void SetMatrixModelview(Matrix view); // Set a custom modelview matrix (replaces internal modelview matrix)
RLAPI Matrix GetMatrixModelview(); // Get internal modelview matrix
RLAPI Matrix GetMatrixModelview(kt">void); // Get internal modelview matrix
// Texture maps generation (PBR)
// NOTE: Required shaders should be provided

+ 2
- 2
src/rlgl.h Ver arquivo

@ -525,7 +525,7 @@ RLAPI void SetShaderValueV(Shader shader, int uniformLoc, const void *value, int
RLAPI void SetShaderValueMatrix(Shader shader, int uniformLoc, Matrix mat); // Set shader uniform value (matrix 4x4)
RLAPI void SetMatrixProjection(Matrix proj); // Set a custom projection matrix (replaces internal projection matrix)
RLAPI void SetMatrixModelview(Matrix view); // Set a custom modelview matrix (replaces internal modelview matrix)
RLAPI Matrix GetMatrixModelview(); // Get internal modelview matrix
RLAPI Matrix GetMatrixModelview(kt">void); // Get internal modelview matrix
// Texture maps generation (PBR)
// NOTE: Required shaders should be provided
@ -3137,7 +3137,7 @@ void SetMatrixModelview(Matrix view)
}
// Return internal modelview matrix
Matrix GetMatrixModelview()
Matrix GetMatrixModelview(kt">void)
{
Matrix matrix = MatrixIdentity();
#if defined(GRAPHICS_API_OPENGL_11)

Carregando…
Cancelar
Salvar