1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 12:45:29 +08:00

Fix error in 01-08, 01-09 and 02-05

This commit is contained in:
EnvyJCD
2016-08-27 00:58:51 +08:00
parent 7c1c22c58e
commit 2bb751baa3
3 changed files with 3 additions and 4 deletions

View File

@@ -209,7 +209,7 @@ while(!glfwWindowShouldClose(window))
我们要用两个全局变量来计算出`deltaTime`值:
```c++
GLfloat deltaTime = 0.0f; // 当前帧上一帧的时间差
GLfloat deltaTime = 0.0f; // 当前帧上一帧的时间差
GLfloat lastFrame = 0.0f; // 上一帧的时间
```