Skip to content

Commit 96801d6

Browse files
authored
Simplify formula (#31405)
1 parent aa50839 commit 96801d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/Matrix4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ class Matrix4 {
11191119

11201120
if ( reversedDepth ) {
11211121

1122-
c = far / ( far - near ) - 1;
1122+
c = near / ( far - near );
11231123
d = ( far * near ) / ( far - near );
11241124

11251125
} else {

0 commit comments

Comments
 (0)