tsparticles
Version:
Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.
19 lines (18 loc) • 675 B
TypeScript
import { Vector } from "./Vector";
import { ICoordinates3d } from "../Interfaces";
export declare class Vector3d extends Vector implements ICoordinates3d {
static clone(source: Vector3d): Vector3d;
static create(x: number | ICoordinates3d, y?: number, z?: number): Vector3d;
z: number;
protected constructor(x: number | ICoordinates3d, y?: number, z?: number);
add(v: Vector): Vector;
addTo(v: Vector): void;
sub(v: Vector): Vector;
subFrom(v: Vector): void;
mult(n: number): Vector;
multTo(n: number): void;
div(n: number): Vector;
divTo(n: number): void;
copy(): Vector3d;
setTo(v: Vector): void;
}