1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00

Update 05 Shaders.md

This commit is contained in:
James Taylor
2022-02-06 15:26:04 +08:00
committed by GitHub
parent a01e279e65
commit 8e9117da6e

View File

@@ -52,7 +52,7 @@ std::cout << "Maximum nr of vertex attributes supported: " << nrAttributes << st
### 向量
GLSL中的向量是一个可以包含有1、2、3或者4个分量的容器分量的类型可以是前面默认基础类型的任意一个。它们可以是下面的形式`n`代表分量的数量):
GLSL中的向量是一个可以包含有2、3或者4个分量的容器分量的类型可以是前面默认基础类型的任意一个。它们可以是下面的形式`n`代表分量的数量):
类型|含义
---|---