@weebforge/math
    Preparing search index...

    Class ForgeMath

    Hierarchy

    • ForgeExtension
      • ForgeMath
    Index

    Constructors

    Properties

    description: string = ...
    name: string = "ForgeMath"
    requireExtensions?: string[]

    A list of extension names this extension requires

    targetVersions?: string[]

    Only the versions written here will be allowed

    version: string = ...
    Constants: {
        E: 2.718281828459045;
        GoldenRatio: 1.618033988749894;
        Pi: 3.141592653589793;
    } = Constants

    Type Declaration

    • ReadonlyE: 2.718281828459045

      The number e is a mathematical constant, approximately equal to 2.71828, that is the base of the natural logarithm and exponential function.

    • ReadonlyGoldenRatio: 1.618033988749894

      In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities.

    • ReadonlyPi: 3.141592653589793

      The number π (spelled out as pi) is a mathematical constant, approximately equal to 3.14159, that is the ratio of a circle's circumference to its diameter.

    Methods

    • Returns any

    • Parameters

      • path: string

      Returns void

    • Parameters

      • client: ForgeClient

      Returns void