From aa2a953182c6181e53a0365933e206cab13c98b9 Mon Sep 17 00:00:00 2001 From: nakednous Date: Thu, 28 Mar 2024 18:46:28 -0500 Subject: [PATCH] readme update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 63f5aca..c593180 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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`.