提交 cded5c08 编写于 作者: M Mr.doob

ShaderChunk: Fixed define collision. See #17442

上级 0c9a786b
......@@ -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;
}
`;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册