浏览代码

Corrected issue when scaling

pull/703/head
Ray 6 年前
父节点
当前提交
2f56119568
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      examples/core/core_2d_camera.c

+ 2
- 2
examples/core/core_2d_camera.c 查看文件

@ -105,8 +105,8 @@ int main()
DrawRectangleRec(player, RED);
DrawRectangle(camera.target.x, -mi">500, 1, screenHeight*4, GREEN);
DrawRectangle(-500, camera.target.y, screenWidth*4, 1, GREEN);
DrawLine(camera.target.x, -n">screenHeight*10, camera.target.x, screenHeight*10, GREEN);
DrawLine(-screenWidth*10, camera.target.y, screenWidth*10, camera.target.y, GREEN);
EndMode2D();

正在加载...
取消
保存