Przeglądaj źródła

Tweaks

pull/842/head
Ray 6 lat temu
rodzic
commit
c1594fa445
2 zmienionych plików z 1 dodań i 1 usunięć
  1. BIN
      examples/models/models_animation.png
  2. +1
    -1
      examples/shaders/shaders_julia_set.c

BIN
examples/models/models_animation.png Wyświetl plik

Przed Po
Szerokość: 800  |  Wysokość: 450  |  Rozmiar: 65 KiB

+ 1
- 1
examples/shaders/shaders_julia_set.c Wyświetl plik

@ -64,7 +64,7 @@ int main()
int offsetLoc = GetShaderLocation(shader, "offset");
// Tell the shader what the screen dimensions, zoom, offset and c are
float screenDims[2] = { (float)screenWidth, (float)screenHeight };
float screenDims[2] = { (float)GetScreenWidth(), (float)GetScreenHeight() };
SetShaderValue(shader, GetShaderLocation(shader, "screenDims"), screenDims, UNIFORM_VEC2);
SetShaderValue(shader, cLoc, c, UNIFORM_VEC2);

Ładowanie…
Anuluj
Zapisz