diff options
author | rodri <rgl@antares-labs.eu> | 2024-09-19 21:21:26 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-09-19 21:21:26 +0000 |
commit | bfd97dce0cd0b532b0a6065fd1cf891169ebd204 (patch) | |
tree | e1ff97f74c77bb7c0ffcc320bf7470aa0e5f16cb /readme.md | |
parent | 97bc549d4b8bf638946ac4ff3b066941bca9a03b (diff) | |
download | semblance-front.tar.gz semblance-front.tar.bz2 semblance-front.zip |
fixes and advances.front
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -25,9 +25,9 @@ It's largely influenced by the [RSL][3] and [GLSL][4] languages. Point3 a, b; double s; - b = b * a; /* b = modulatept3(a, b); */ + b = b * a; /* b = modulatept3(b, a); */ b = b * s; /* b = mulpt3(b, s); */ - b = b * m; /* xform3(b, m); */ + b = b * m; /* b = xform3(b, m); */ b = b × a; /* b = crossvec3(b, a); */ b = b · a; /* b = dotvec3(b, a); */ m = m * n; /* mulm3(m, n); */ @@ -72,9 +72,9 @@ It's largely influenced by the [RSL][3] and [GLSL][4] languages. - fragment | in shader | in libgraphics | +--------------------------------+ - position → sp->v.p - color → sp->v.c - <attr> → sp->v.attrs["<attr>"] + position → sp->v->p + color → sp->v->c + <attr> → sp->v->attrs["<attr>"] - swizzles Point3 p; Color c; |