show method
show the information for debugging
Implementation
String show(){
String info =[
"Oimo.js $version<br>",
"$broadPhase<br><br>",
"FPS: $fps fps<br><br>",
"rigidbody ${parent.numRigidBodies}<br>",
"contact ${parent.numContacts}<br>",
"ct-point ${parent.numContactPoints}<br>",
"paircheck ${parent.broadPhase.numPairChecks}<br>",
"island ${parent.numIslands}<br><br>",
"Time in milliseconds<br><br>",
"broadphase ${Math.fix(broadPhaseTime.toDouble())} | ${Math.fix(maxBroadPhaseTime.toDouble())}<br>",
"narrowphase ${Math.fix(narrowPhaseTime.toDouble())} | ${Math.fix(maxNarrowPhaseTime.toDouble())}<br>",
"solving ${Math.fix(solvingTime.toDouble())} | ${Math.fix(maxSolvingTime.toDouble())}<br>",
"total ${Math.fix(totalTime.toDouble())} | ${Math.fix(maxTotalTime.toDouble())}<br>",
"updating ${Math.fix(updateTime.toDouble())} | ${Math.fix(maxUpdateTime.toDouble())}<br>"
].join("\n");
return info;
}