[wip] rlDrawMeshInstanced (#1318)

* rlDrawMeshInstanced first attempt

* rlDrawMeshInstanced OpenGL 3.3 and VAO checks

* rlDrawMeshInstanced GetShaderAttribLocation; comments

* example instanced shader

* RLGL_STANDALONE RAYMATH_STANDALONE Vector4

* apply suggested naming changes; add instanced mesh example

* remove orphan variables
This commit is contained in:
seanpringle
2020-09-27 18:29:05 +10:00
committed by GitHub
parent e90b4d8915
commit 4bcddc3b15
6 changed files with 307 additions and 4 deletions

View File

@@ -114,13 +114,16 @@
float z;
} Vector3;
// Quaternion type
typedef struct Quaternion {
// Vector4 type
typedef struct Vector4 {
float x;
float y;
float z;
float w;
} Quaternion;
} Vector4;
// Quaternion type
typedef Vector4 Quaternion;
// Matrix type (OpenGL style 4x4 - right handed, column major)
typedef struct Matrix {