New recommendations

This commit is contained in:
Thomas FORGIONE
2015-07-21 17:09:03 +02:00
parent a3ddf14dbc
commit 47a9925f3c
4 changed files with 67 additions and 77 deletions

View File

@@ -674,7 +674,7 @@ L3D.PointerCamera.prototype.onMouseUp = function(event) {
* Logs the camera to the terminal (pratical to create recommended views)
*/
L3D.PointerCamera.prototype.log = function() {
console.log("createCamera(\nnew THREE.Vector3(" + this.position.x + "," + this.position.y + ',' + this.position.z + '),\n' +
console.log("createRecommendation(\nnew THREE.Vector3(" + this.position.x + "," + this.position.y + ',' + this.position.z + '),\n' +
"new THREE.Vector3(" + this.target.x + "," + this.target.y + ',' + this.target.z + ')\n)');
};