Skip to content

Commit

Permalink
delete console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
who am i committed Nov 18, 2020
1 parent 52ef292 commit eb6a598
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Babylonjs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
function changeImgSrc(arg){
//$("#imgId").attr('src',imgpath[arg]);
if(arg!=3){
console.log("what")
// console.log("what")
$("#imgId").attr('src',modelIntroImgPath[currentModelNum][arg]);
let activecam1 = scene.getCameraByID("Camera")
let animCamera = animationChangeArr[currentModelNum][arg]
Expand Down
6 changes: 3 additions & 3 deletions Babylonjs/script/controlscript/svganim.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function animationStart(animationName, keys, animCamera) {
if (keys) {
ag.start(false, 2, ag.from, ag.to)
let activecam1 = scene.getCameraByID("Camera")
console.log( "this is animCamera : ",animCamera)
// console.log( "this is animCamera : ",animCamera)
cameraArcRotateAnimate(activecam1, ...animCamera.cameraAnimTargetNormolPosition, ...animCamera.cameraAnimNormolPosition)
// cameraPostionAnimate(activecam1,...animCamera.cameraAnimExploitPosition,...animCamera.cameraAnimTargetExploitPosition)
}
Expand Down Expand Up @@ -262,7 +262,7 @@ function modelExploitV2(num,name, isExploit) {
// console.log("this is name : ",name);
let timeout = 1000;
let animIndex = animationChangeArr[num].filter((value, index) => { if (value.btnName == name) { return value } })
console.log("this is animIndex : ",animIndex)
// console.log("this is animIndex : ",animIndex)
animIndex[0].exploitd = isExploit;
timeout = animationStart(animIndex[0].val.exploit, animIndex[0].exploitd, animIndex[0])
setTimeout(() => { mouseEvenTimeOut = false }, timeout)
Expand Down Expand Up @@ -330,7 +330,7 @@ function mouseup(type, name) {
nextModelAnim = name;
if (currenModelAnim !== nextModelAnim) {
modelChange(currenModelAnim, nextModelAnim);
console.log("123")
// console.log("123")
// getactivecamera()
// animateCameraToPosition(activecam,10, 600,new BABYLON.Vector3(100, 100, 200))
mouseEvenTimeOut = true
Expand Down

0 comments on commit eb6a598

Please sign in to comment.