[Scummvm-git-logs] scummvm master -> af399f0a50a114fc06d02af5d4c3cd2eb67544ba

aquadran noreply at scummvm.org
Sat Jan 1 16:16:16 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
af399f0a50 TINYGL: Janitorial


Commit: af399f0a50a114fc06d02af5d4c3cd2eb67544ba
    https://github.com/scummvm/scummvm/commit/af399f0a50a114fc06d02af5d4c3cd2eb67544ba
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2022-01-01T17:16:10+01:00

Commit Message:
TINYGL: Janitorial

Changed paths:
    graphics/tinygl/zgl.h


diff --git a/graphics/tinygl/zgl.h b/graphics/tinygl/zgl.h
index 9c3e7079cb8..74c168eb53e 100644
--- a/graphics/tinygl/zgl.h
+++ b/graphics/tinygl/zgl.h
@@ -152,21 +152,22 @@ struct GLVertex {
 	Vector4 color;
 
 	// computed values
-	Vector4 ec;                // eye coordinates
-	Vector4 pc;                // coordinates in the normalized volume
+	Vector4 ec;           // eye coordinates
+	Vector4 pc;           // coordinates in the normalized volume
 	int clip_code;        // clip code
 	ZBufferPoint zp;      // integer coordinates for the rasterization
 
 	bool operator==(const GLVertex &other) const {
-		return	edge_flag == other.edge_flag &&
-				normal == other.normal &&
-				coord == other.coord &&
-				tex_coord == other.tex_coord &&
-				color == other.color &&
-				ec == other.ec &&
-				pc == other.pc &&
-				clip_code == other.clip_code &&
-				zp == other.zp;
+		return
+			edge_flag == other.edge_flag &&
+			normal == other.normal &&
+			coord == other.coord &&
+			tex_coord == other.tex_coord &&
+			color == other.color &&
+			ec == other.ec &&
+			pc == other.pc &&
+			clip_code == other.clip_code &&
+			zp == other.zp;
 	}
 
 	bool operator!=(const GLVertex &other) const {




More information about the Scummvm-git-logs mailing list