Skip to content

Vector

Type Aliases

Vector

type Vector: object;

Type declaration

x
x: number;
y
y: number;
z
z: number;

Defined in

tmp/graph-editor/src/lib/graph-editor/common.ts:10

Functions

fromNumber()

function fromNumber(x): object

Parameters

x: number

Returns

object

x
x: number;
y
y: number = x;
z
z: number = x;

Defined in

tmp/graph-editor/src/lib/graph-editor/common.ts:26


isVector()

function isVector(o): o is Vector

Parameters

o: unknown

Returns

o is Vector

Defined in

tmp/graph-editor/src/lib/graph-editor/common.ts:22


zero()

function zero(): Vector

Returns

Vector

Defined in

tmp/graph-editor/src/lib/graph-editor/common.ts:15