Skip to content

Commit

Permalink
Fix shapes extrude geometry rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name authored and ComBatVision committed Dec 1, 2024
1 parent cfa9e03 commit 6c650ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ open class TriangleShaderProgram : AbstractShaderProgram() {
void main() {
if (enableOneVertexMode) {
/* Transform the vertex position by the modelview-projection matrix. */
gl_Position = mvpMatrix * pointA;
gl_Position = mvpMatrix * vec4(pointA.xyz, 1.0);
} else {
/* Transform the vertex position by the modelview-projection matrix. */
vec4 pointAScreen = mvpMatrix * vec4(pointA.xyz, 1);
Expand Down

0 comments on commit 6c650ef

Please sign in to comment.