Skip to content

Added GetSignedArea, changed syntax, removed things.

Compare
Choose a tag to compare
@davisdude davisdude released this 03 May 03:37
· 65 commits to master since this release

3.0.0

ADDED:

  • Added function GetSignedArea.

REMOVED:

  • Removed drawing functions.
  • Removed MLib.Line.Functions entirely.

CHANGED:

  • Changed all the names to CamelCase.
  • Changed module name to MLib.
  • Changed return order of GetPerpendicualrBisector from Slope, Midpoint to Midpoint, Slope.
  • Changed returned string of MLib.circle.isLineSecant to be upper-case.
  • Changed IsPrime to accept only one number at a time.
  • Changed NewShape's type to Capitals.

Related to code:

  • Added more accuarate comments.
  • Made code more DRY.
  • Made code monkey-patchable and saved space (by declaring all functions as local values then inserted them into a large table.

TODO:

  • Make LineIntersectsPolygon return where intersection occurs.
  • Ditto with PolygonIntersectsPolygon.
  • Add:
    • Frequency
    • Binomial Probability
    • Standard Deviation
    • Conditional Probability