瀏覽代碼

Tweaks

pull/842/head
Ray 6 年之前
父節點
當前提交
c1594fa445
共有 2 個檔案被更改,包括 1 行新增1 行删除
  1. 二進制
      examples/models/models_animation.png
  2. +1
    -1
      examples/shaders/shaders_julia_set.c

二進制
examples/models/models_animation.png 查看文件

Before After
Width: 800  |  Height: 450  |  Size: 65 KiB

+ 1
- 1
examples/shaders/shaders_julia_set.c 查看文件

@ -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);

Loading…
取消
儲存