2
0
Эх сурвалжийг харах

Vertex: Legacy support approach suggested by @voidburn. Fixes #2257.

Mr.doob 13 жил өмнө
parent
commit
d18c95cdd0

+ 2 - 1
src/core/Vertex.js

@@ -2,8 +2,9 @@
  * @author mr.doob / http://mrdoob.com/
  * @author mr.doob / http://mrdoob.com/
  */
  */
 
 
-THREE.Vertex = function () {
+THREE.Vertex = function ( v ) {
 
 
 	console.warn( 'THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead.')
 	console.warn( 'THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead.')
+	return v;
 
 
 };
 };