Skip to content
New issue

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

Manual Content: "Guide To Using Shaders" page has incorrect in the code example for swizzling vectors #7682

Closed
gm-bug-reporter bot opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
docs-bug GameMaker Manual Bugs

Comments

@gm-bug-reporter
Copy link

Description

First example code showing swizzle:

vec3 firstVec;
vec3 secondVec = firstVec;
vec4 thirdVec = secondVec.xyz;
vec2 fourthVec = thirdVec.zx;

thirdVec has only 3 components, but should have 4

Manual Link

https://manual.gamemaker.io/monthly/en/#t=Additional_Information%2FGuide_To_Using_Shaders.htm

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

Attached Files

  • manual_shaders.png

58cdf202-82d0-49bf-9333-7be6c67af507

@gm-bug-reporter gm-bug-reporter bot added the docs-bug GameMaker Manual Bugs label Sep 17, 2024
@stuckie stuckie moved this from Triage to Backlog in Team Workload Sep 18, 2024
@YYDan YYDan changed the title Incorrect swizzle in code example in Guide To Using Shaders in the manual Manual Content: "Guide To Using Shaders" page has incorrect in the code example for swizzling vectors Sep 18, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Sep 19, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Sep 19, 2024
gurpreetsinghmatharoo added a commit to YoYoGames/GameMaker-Manual that referenced this issue Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-bug GameMaker Manual Bugs
Projects
Status: Ready for QA
Development

No branches or pull requests

1 participant