Forráskód Böngészése

Three.Legacy: Added THREE.Vertex. See #1703.

Mr.doob 9 éve
szülő
commit
da330b63fa
1 módosított fájl, 7 hozzáadás és 0 törlés
  1. 7 0
      src/Three.Legacy.js

+ 7 - 0
src/Three.Legacy.js

@@ -202,6 +202,13 @@ THREE.Face4 = function ( a, b, c, d, normal, color, materialIndex ) {
 
 };
 
+THREE.Vertex = function ( x, y, z ) {
+
+	console.warn( 'THREE.Vertex has been removed. Use THREE.Vector3 instead.' );
+	return new THREE.Vector3( x, y, z );
+
+};
+
 //
 
 Object.defineProperties( THREE.Object3D.prototype, {