Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed grammar error
  • Loading branch information
pipriles authored May 7, 2022
1 parent d9ce844 commit 0bf37bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 06/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ vector[2] = vector.b = vector.z = vector.p;
vector[3] = vector.a = vector.w = vector.q;
```

These different ways of pointing to the variables inside a vector are just nomenclatures designed to help you write clear code. This flexibility embedded in shading language is a door for you to start thinking interchangably about color and space coordinates.
These different ways of pointing to the variables inside a vector are just nomenclatures designed to help you write clear code. This flexibility embedded in shading language is a door for you to start thinking interchangeably about color and space coordinates.

Another great feature of vector types in GLSL is that the properties can be combined in any order you want, which makes it easy to cast and mix values. This ability is called *swizzle*.

Expand Down

0 comments on commit 0bf37bc

Please sign in to comment.