Explorar o código

SAOShader: Fixed function name

Mugen87 %!s(int64=7) %!d(string=hai) anos
pai
achega
20ea4439e9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/shaders/SAOShader.js

+ 1 - 1
examples/js/shaders/SAOShader.js

@@ -88,7 +88,7 @@ THREE.SAOShader = {
 		"	#if PERSPECTIVE_CAMERA == 1",
 		"	return perspectiveDepthToViewZ( depth, cameraNear, cameraFar );",
 		"	#else",
-		"	return orthoDepthToViewZ( depth, cameraNear, cameraFar );",
+		"	return orthographicDepthToViewZ( depth, cameraNear, cameraFar );",
 		"	#endif",
 		"}",