Parcourir la source

PlaneGeometry: Added console.info().

Mr.doob il y a 11 ans
Parent
commit
1879afff69
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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';