Bladeren bron

Review function prototype

pull/873/head
Ray 5 jaren geleden
bovenliggende
commit
498c172d8e
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. +1
    -1
      src/raylib.h
  2. +2
    -2
      src/rlgl.h

+ 1
- 1
src/raylib.h Bestand weergeven

@ -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 Bestand weergeven

@ -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)

Laden…
Annuleren
Opslaan