summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorchriscamacho <[email protected]>2019-10-27 11:13:18 +0000
committerRay <[email protected]>2019-10-27 12:13:18 +0100
commit90b3dceb5401eb89740bde3f2964f4d3c3f2e009 (patch)
treec5f97217ccc6026e8a326a939bf719f26258c6ad /src/raylib.h
parenta6db31c01e57ba9b0370190b11222dfaf4023b73 (diff)
downloadraylib-90b3dceb5401eb89740bde3f2964f4d3c3f2e009.tar.gz
raylib-90b3dceb5401eb89740bde3f2964f4d3c3f2e009.zip
added GetMatrixProjection fixed issue with GL11 where model matrix was identity (#999)
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 2d6b3642..9bc7c2fa 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -432,7 +432,7 @@ typedef struct Sound {
typedef struct Music {
int ctxType; // Type of music context (audio filetype)
void *ctxData; // Audio context data, depends on type
-
+
unsigned int sampleCount; // Total number of samples
unsigned int loopCount; // Loops count (times music will play), 0 means infinite loop
@@ -1319,6 +1319,7 @@ RLAPI void SetShaderValueTexture(Shader shader, int uniformLoc, Texture2D textur
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(void); // Get internal modelview matrix
+RLAPI Matrix GetMatrixProjection(void); // Get internal projection matrix
// Texture maps generation (PBR)
// NOTE: Required shaders should be provided