Sfoglia il codice sorgente

Update raylib.h

pull/2454/head
Ray 2 anni fa
parent
commit
f169530d8f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/raylib.h

+ 1
- 1
src/raylib.h Vedi File

@ -322,7 +322,7 @@ typedef struct Mesh {
// Vertex attributes data
float *vertices; // Vertex position (XYZ - 3 components per vertex) (shader-location = 0)
float *texcoords; // Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)
float *texcoords2; // Vertex second texture coordinates (useful for lightmaps) (shader-location = 5)
float *texcoords2; // Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)
float *normals; // Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)
float *tangents; // Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)
unsigned char *colors; // Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)

Caricamento…
Annulla
Salva