mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-15 15:58:14 +00:00
[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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user