Fix spelling of dimensional

pull/204/head
David Broder-Rodgers 7 years ago
parent f9d226cb03
commit 5306f38335

@ -34,7 +34,7 @@ More interestingly, we can use a matrix to rotate the coordinate system:
![](rotmat.png)
Take a look at the following code for a function that constructs a 2D rotation matrix. This function follows the above [formula](http://en.wikipedia.org/wiki/Rotation_matrix) for two dimentional vectors to rotate the coordinates around the ```vec2(0.0)``` point.
Take a look at the following code for a function that constructs a 2D rotation matrix. This function follows the above [formula](http://en.wikipedia.org/wiki/Rotation_matrix) for two dimensional vectors to rotate the coordinates around the ```vec2(0.0)``` point.
```glsl
mat2 rotate2d(float _angle){

@ -27,7 +27,7 @@ void main(){
st *= 2.0; // becomes -1.0 to 1.0
// we pass st as the y & z values of
// a three dimentional vector to be
// a three dimensional vector to be
// properly multiply by a 3x3 matrix
color = yuv2rgb * vec3(0.5, st.x, st.y);

@ -1,5 +1,5 @@
## Bvec2
2 dimentional boolean vector
2 dimensional boolean vector
### Declaration
```glsl

@ -1,5 +1,5 @@
## Bvec3
3 dimentional boolean vector
3 dimensional boolean vector
### Declaration
```glsl

@ -1,5 +1,5 @@
## Bvec4
4 dimentional boolean vector
4 dimensional boolean vector
### Declaration
```glsl

@ -1,5 +1,5 @@
## Ivec2
2 dimentional integer vector
2 dimensional integer vector
### Declaration
```glsl

@ -1,5 +1,5 @@
## Ivec3
3 dimentional integer vector
3 dimensional integer vector
### Declaration
```glsl

@ -1,5 +1,5 @@
## Ivec4
4 dimentional integer vector
4 dimensional integer vector
### Declaration
```glsl

@ -1,5 +1,5 @@
## Vec2
2 dimentional float point vector
2 dimensional floating point vector
### Declaration
```glsl

@ -1,5 +1,5 @@
## Vec3
3 dimentional floating point vector
3 dimensional floating point vector
### Declaration
```glsl

@ -1,5 +1,5 @@
## Vec4
4 dimentional floating point vector
4 dimensional floating point vector
### Declaration
```glsl

Loading…
Cancel
Save