|
@@ -251,6 +251,18 @@ Object.defineProperties( THREE.Object3D.prototype, {
|
|
|
|
|
|
//
|
|
//
|
|
|
|
|
|
|
|
+THREE.PerspectiveCamera.prototype.setLens = function( focalLength, filmGauge ) {
|
|
|
|
+
|
|
|
|
+ console.warn( "THREE.PerspectiveCamera.setLens is deprecated. " +
|
|
|
|
+ "Use .setFocalLength and .filmGauge for a photographic setup." );
|
|
|
|
+
|
|
|
|
+ if ( filmGauge !== undefined ) this.filmGauge = filmGauge;
|
|
|
|
+ this.setFocalLength( focalLength );
|
|
|
|
+
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+//
|
|
|
|
+
|
|
Object.defineProperties( THREE, {
|
|
Object.defineProperties( THREE, {
|
|
PointCloud: {
|
|
PointCloud: {
|
|
value: function ( geometry, material ) {
|
|
value: function ( geometry, material ) {
|