Update Calculations

Description

There might be requirements to update the extended calculations, such as "pointer bounds calculation", "intersection calculations", "stride", "distance" calculations etc.

This document will help you to get a frame of reference.


Steps

Review the Q&A documentation

Check the Q&A document for any previous change in calculations.

Refer to documentation

Check the Equetronic Helpers

Open equetronic-helpers submodule

  • Find the function that is responsible for it
  • Update it
  • Test it

Commit changes

  • Commit your changes in the submodule

Update submodule in other projects

  • Go to the project of equetronic-dev and equetrinic-api in GitKracken , open equetronic-helpers submodule and checkout to the latest develop or master branch with your respective change in both projects.

Update the same in equetronic-api , helpers/EqHelper.js file.

  • In Case of equetronic-api you will have to make the same change in helpers/EqHelper.js