We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The example code under the vector construction heading on the WGSL page has three minor typos that I'd like to fix:
vector construction
The sample says:
let a = vec4f(1, 2, 3, 4); let b = vec2f(2, 3); let c = vec4f(1, b, 4); let d = vec2f(1, a.yz, 4); let e = vec2f(a.xyz, 4); let f = vec2f(1, a.yzw);
and I believe it should say:
let a = vec4f(1, 2, 3, 4); let b = vec2f(2, 3); let c = vec4f(1, b, 4); let d = vec4f(1, a.yz, 4); let e = vec4f(a.xyz, 4); let f = vec4f(1, a.yzw);
In others words, d, e, and f are vec4fs, not vec2fs.
d
e
f
vec4f
vec2f
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The example code under the
vector construction
heading on the WGSL page has three minor typos that I'd like to fix:The sample says:
and I believe it should say:
In others words,
d
,e
, andf
arevec4f
s, notvec2f
s.The text was updated successfully, but these errors were encountered: