瀏覽代碼

Fix example core_3d_camera_free (#3488)

pull/3494/head
ubkp 1 年之前
committed by GitHub
父節點
當前提交
d8acceca14
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 2 個文件被更改,包括 4 次插入6 次删除
  1. +4
    -6
      examples/core/core_3d_camera_free.c
  2. 二進制
      examples/core/core_3d_camera_free.png

+ 4
- 6
examples/core/core_3d_camera_free.c 查看文件

@ -65,15 +65,13 @@ int main(void)
EndMode3D();
DrawRectangle( 10, 10, 320, 133, Fade(SKYBLUE, 0.5f));
DrawRectangleLines( 10, 10, 320, 133, BLUE);
DrawRectangle( 10, 10, 320, 93, Fade(SKYBLUE, 0.5f));
DrawRectangleLines( 10, 10, 320, 93, BLUE);
DrawText("Free camera default controls:", 20, 20, 10, BLACK);
DrawText("- Mouse Wheel to Zoom in-out", 40, 40, 10, DARKGRAY);
DrawText("- Mouse Wheel Pressed to Pan", 40, 60, 10, DARKGRAY);
DrawText("- Alt + Mouse Wheel Pressed to Rotate", 40, 80, 10, DARKGRAY);
//DrawText("- Alt + Ctrl + Mouse Wheel Pressed for Smooth Zoom", 40, 100, 10, DARKGRAY);
DrawText("- Z to zoom to (0, 0, 0)", 40, 120, 10, DARKGRAY);
DrawText("- Z to zoom to (0, 0, 0)", 40, 80, 10, DARKGRAY);
EndDrawing();
//----------------------------------------------------------------------------------
@ -85,4 +83,4 @@ int main(void)
//--------------------------------------------------------------------------------------
return 0;
}
}

二進制
examples/core/core_3d_camera_free.png 查看文件

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

Loading…
取消
儲存