matthias-research / pages

My web page containing all the demos from my youtube channel "Ten Minute Physics" www.youtube.com/c/TenMinutePhysics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistency in 02-cannonball3d.html

Mokona opened this issue · comments

Hello,

in this file, initPhysics() and Ball constructor are prepared to receive a "scene" parameter. But they use the global threeScene variable instead.

For consistency, the local parameter should either go, or be used and initPysics() called with the threeScene argument.

Regards