Merge pull request #194 from broder/update-normalize

Update documentation for normalize function
pull/195/head
Patricio Gonzalez Vivo 7 years ago committed by GitHub
commit 57d5770af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
## Normalize
Calculate the normalize product of two vectors
Calculate the unit vector in the same direction as the input vector
### Declaration
```glsl
@ -10,10 +10,10 @@ vec4 normalize(vec4 x)
```
### Parameters
```v``` specifies the vector to normalize.
```x``` specifies the vector to normalize.
### Description
```normalize()``` returns a vector with the same direction as its parameter, v, but with length 1.
```normalize()``` returns a vector with the same direction as its parameter, ```x```, but with length 1.
### See Also

Loading…
Cancel
Save