Skip to content

want help with code, to draw a fullscreen quad #2568

Answered by kyoobey
kyoobey asked this question in Q&A
Discussion options

You must be logged in to vote

found the problem
its line 509 in main.rs https://gist.github.com/tshrpl/01999d1244a92acb4812abede2a3ff3d#file-main-rs-L509
centroid should be the average of _vertex_0 and _vertex_2 or _vertex_1 and _vertex_3 not _vertex_0 and _vertex_3

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kyoobey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants