Explorar o código

PlaneGeometry: Added console.info().

Mr.doob %!s(int64=11) %!d(string=hai) anos
pai
achega
1879afff69
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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';