Skip to content

row

function row(v, i): Float64Array;

Defined in: core/vectors.ts:156

Copy of row i. Never hand out a subarray view of the caller’s buffer.

ParameterType
vVectors
inumber

Float64Array

import { toVectors, row } from "@saehrimnir/sickle";
const v = toVectors(projection);
row(v, 0); // Float64Array [x, y] — a copy, never a view of your buffer