Skip to content

Documentation / @sw-file-lib/core / math / maxVec3

Function: maxVec3() ​

ts
function maxVec3(a: ReadonlyVec3, b: ReadonlyVec3): Vec3;

Defined in: math/vec3.ts:38

Return the component-wise maximum of two vectors.

Parameters ​

ParameterType
aReadonlyVec3
bReadonlyVec3

Returns ​

Vec3