mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-23 04:35:28 +08:00
改正错别字
This commit is contained in:
@@ -293,7 +293,7 @@ struct Texture {
|
|||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
然后我们把所有家在过的纹理储存到另一个向量中,它是作为一个私有变量声明在模型类的顶部:
|
然后我们把所有加载过的纹理储存到另一个向量中,它是作为一个私有变量声明在模型类的顶部:
|
||||||
|
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
@@ -365,4 +365,4 @@ vector<Texture> loadMaterialTextures(aiMaterial* mat, aiTextureType type, string
|
|||||||
|
|
||||||
## 练习
|
## 练习
|
||||||
|
|
||||||
你可以使用两个点光源重建上个场景吗?[方案](http://learnopengl.com/code_viewer.php?code=model_loading/model-exercise1),[着色器](http://learnopengl.com/code_viewer.php?code=model_loading/model-exercise1-shaders)。
|
你可以使用两个点光源重建上个场景吗?[方案](http://learnopengl.com/code_viewer.php?code=model_loading/model-exercise1),[着色器](http://learnopengl.com/code_viewer.php?code=model_loading/model-exercise1-shaders)。
|
||||||
|
Reference in New Issue
Block a user