From a73ad7df9c889ba9d9f4c04659da6a293a0545f6 Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Fri, 31 Mar 2023 17:27:40 +0200 Subject: [PATCH] update documentation --- doc/RFC.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/RFC.md b/doc/RFC.md index 7d9f691..05fb332 100644 --- a/doc/RFC.md +++ b/doc/RFC.md @@ -1,10 +1,10 @@ -# `protocol://domain.com/some3d.asset#pos=1,0,0&prio=-5` +# `://foo.com/my3d.asset#pos=1,0,0&prio=-5` # URI parser -> icanhazcode? yes, see [URI.hx](./../src/xrfragment/URI.hx) +> icanhazcode? yes, see [URI.hx](https://github.com/coderofsalvation/xrfragment/blob/main/src/xrfragment/URI.hx) 1. fragment URI starts with `#` 1. fragments are split by `&` @@ -14,8 +14,8 @@ # XR Fragments (key/value params) -> ⛁ = fragment support through 3D asset-file (custom property)
-> ⚂ = fragment support through navigator URI (`document.location.href` e.g.)
+> ⛁ = supported in 3D asset-file (custom property or projection)
+> ⚂ = supported in navigator URI (`document.location.href` e.g.)
| param | type | scope(s) | category | notes | |---------|---------------|-------|--------------------|---------------------------------| @@ -25,7 +25,7 @@ # XR Fragments parser note: community parsers will prolly outperform this initial parser :) -> icanhazcode? yes, see [Parser.hx](./../src/xrfragment/Parser.hx) +> icanhazcode? yes, see [Parser.hx](https://github.com/coderofsalvation/xrfragment/blob/main/src/xrfragment/Parser.hx) the gist of it: 1. each key has a regex to validate its value-type (see regexes)