Переглянути джерело

PlaneGeometry: Added console.info().

Mr.doob 11 роки тому
батько
коміт
1879afff69
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      src/extras/geometries/PlaneGeometry.js

+ 2 - 0
src/extras/geometries/PlaneGeometry.js

@@ -5,6 +5,8 @@
 
 THREE.PlaneGeometry = function ( width, height, widthSegments, heightSegments ) {
 
+	console.info( 'THREE.PlaneGeometry: Consider using THREE.PlaneBufferGeometry for lower memory footprint.' );
+
 	THREE.Geometry.call( this );
 
 	this.type = 'PlaneGeometry';