Skip to content

ResolvedRotation

ResolvedRotation = Record<keyof RotationOptions, number>

Defined in: math/rotation.ts:28

Every rotation option with its default filled in. Not Required<>: under exactOptionalPropertyTypes that keeps the explicit | undefined the options declare, so it would not actually mean “resolved”.

import type { ResolvedRotation } from '@rpxl/riffle'
const resolved: ResolvedRotation = { maxRotation: 16, baseFactor: 0.35, leverFactor: 0.65, trajFactor: 0.15 }