@@ -111,9 +111,9 @@ float linearToRelativeLuminance( const in vec3 color ) {
}
-bool isPerspectiveMatrix( mat4 projectionMatrix ) {
+bool isPerspectiveMatrix( mat4 m ) {
- return projectionMatrix[ 2 ][ 3 ] == - 1.0;
+ return m[ 2 ][ 3 ] == - 1.0;
`;