summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-04-22 14:42:43 -0700
committerGitHub <noreply@github.com>2021-04-22 14:42:43 -0700
commite4f23ffde2272f152d00d82eac6f27d2997baf99 (patch)
treea34500795377f387eb9b2b642548421eb762b23e /docs
parente4fa0cfba53ece7dff0879866400e02754372f36 (diff)
Update a1-01-matrix-layout.md
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide/a1-01-matrix-layout.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user-guide/a1-01-matrix-layout.md b/docs/user-guide/a1-01-matrix-layout.md
index 239cf0e02..347a7cfb1 100644
--- a/docs/user-guide/a1-01-matrix-layout.md
+++ b/docs/user-guide/a1-01-matrix-layout.md
@@ -53,7 +53,7 @@ In summary, to make sure your application works correctly on all platforms, you
- Leave `defaultMatrixLayoutMode` as default value when creating a Slang session, or specify `SLANG_MATRIX_LAYOUT_ROW_MAJOR`.
- Write `mul(Matrix, Vector)` in shader code to transform `Vector` by `Matrix`.
-**Option 2 (translation terms in 3,7,11**
+**Option 2 (translation terms in 3,7,11)**
- Make sure the host code fills in matrices in column-major layout, i.e. translations terms are specified in `m[12], m[13], m[14]` elements.
- Set `defaultMatrixLayoutMode` to `SLANG_MATRIX_LAYOUT_COLUMN_MAJOR` when creating a Slang session.