Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
JGantts committed Nov 23, 2024
1 parent 22798bb commit b001b09
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions jgantts-com/src/Curtain/Curtain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,16 +202,22 @@ let clientHeightInitial = 0
async function renderLoop() {
let state: AnimationState|null = null
console.log("yfsdioyf")
await pauseMutex.runExclusive(async () => {
console.log("543554")
if (playStateInternal == BackgroundState.AfterFirstPaused) {
return
}
console.log("gfdgfrw")
state = await renderScene(state);
if (state == AnimationState.Inside) {
console.log("bxcbvnxb")
window.requestAnimationFrame(renderLoop)
}
})
console.log("qewqewq")
if (state == AnimationState.AboveTop) {
console.log("iupoiupou")
renderLoop()
}
}
Expand Down Expand Up @@ -264,8 +270,6 @@ async function renderScene(state: AnimationState|null): Promise<AnimationState>
}
}
console.log(deltaTime)
for (let index=0; index < gaussianObjects.length; index++) {
gaussianObjects[index].acceleration += gaussianObjects[index].jolt * deltaTime
gaussianObjects[index].velocity += gaussianObjects[index].acceleration * deltaTime
Expand Down

0 comments on commit b001b09

Please sign in to comment.