MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / poseExercising

Method poseExercising

web/observatory/js/pose-system.js:326–333  ·  view source on GitHub ↗
(px, pz, elapsed, exerciseType, exerciseTime)

Source from the content-addressed store, hash-verified

324 // ---- Exercising --------------------------------------------------------
325
326 poseExercising(px, pz, elapsed, exerciseType, exerciseTime) {
327 const et = exerciseTime || elapsed;
328
329 if (exerciseType === 'squats') {
330 return this._poseSquats(px, pz, et);
331 }
332 return this._poseJumpingJacks(px, pz, et);
333 }
334
335 // Squats: forward lean, hip hinge, arm counterbalance, depth variation
336

Callers 1

generateKeypointsMethod · 0.95

Calls 2

_poseSquatsMethod · 0.95
_poseJumpingJacksMethod · 0.95

Tested by

no test coverage detected