Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
nakednous committed Mar 28, 2024
1 parent 16ceb2f commit aa2a953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Shader development and space transformations [WEBGL](https://p5js.org/reference/
- [Matrix operations](#matrix-operations)
- [Matrix queries](#matrix-queries)
- [Frustum queries](#frustum-queries)
- [Coordinate Space conversions](#coordinate-space-conversions)
- [Coordinate space conversions](#coordinate-space-conversions)
- [Heads Up Display](#heads-up-display)
- [Utilities](#utilities)
- [Drawing stuff](#drawing-stuff)
Expand Down Expand Up @@ -290,7 +290,7 @@ This section delves into matrix manipulations and queries which are essential fo
8. `hfov()`: Returns the horizontal field-of-view (hfov) in radians.
9. `isOrtho()`: Returns the camera projection type: `true` for orthographic and `false` for perspective.

## Coordinate Space conversions
## Coordinate space conversions

1. `treeLocation(vector = Tree.ORIGIN, [{[from = Tree.EYE], [to = Tree.WORLD], [pMatrix], [vMatrix], [eMatrix], [pvMatrix], [pvInvMatrix]}])`: transforms locations (points) from matrix `from` to matrix `to`.
2. `treeDisplacement(vector = Tree._k, [{[from = Tree.EYE], [to = Tree.WORLD], [vMatrix], [eMatrix], [pMatrix]}])`: transforms displacements (vectors) from matrix `from` to matrix `to`.
Expand Down

0 comments on commit aa2a953

Please sign in to comment.