Skip to content

Commit

Permalink
example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smaludzi committed Sep 22, 2018
1 parent 0f6d8e0 commit f806af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -671,7 +671,7 @@ func main() -> float
```

Together with arrays mathematical functions can be used to express and calculate
vector rotations. Code snippet included below rotates vector ```[[ 0, 10 ]]```
vector rotations. Code snippet included below rotates vector ```[[ 10.0, 0.0 ]]```
by 0, 45, 90, 180, 270 and 360 degrees.

```
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Expand Up @@ -656,7 +656,7 @@ in between functions as any other function.
```
func deg2rad(deg -> float) -> float
{
deg * 3.14159265359 / 180
deg * 3.14159 / 180
}
func get_func() -> (float) -> float
Expand All @@ -671,7 +671,7 @@ func main() -> float
```

Together with arrays mathematical functions can be used to express and calculate
vector rotations. Code snippet included below rotates vector ```[[ 0, 10 ]]```
vector rotations. Code snippet included below rotates vector ```[[ 10.0, 0.0 ]]```
by 0, 45, 90, 180, 270 and 360 degrees.

```
Expand Down

0 comments on commit f806af3

Please sign in to comment.