@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
25 lines (17 loc) • 441 B
TypeScript
export default class LinearModifier {
/**
* Gradient(slope)
*/
public readonly a: number
/**
* Constant(intercept)
*/
public readonly b: number
constructor(gradient: number, constant: number)
copy(other: LinearModifier): void
clone(): LinearModifier
equals(other: LinearModifier): boolean
hash(): number
toJSON(): any
fromJSON(json: any): void
}