UNPKG

excalibur

Version:

Excalibur.js is a simple JavaScript game engine with TypeScript bindings for making 2D games in HTML5 Canvas. Our mission is to make web game development as simple as possible.

10 lines (9 loc) 422 B
import { Transform } from '../Math/transform'; /** * Blend 2 transforms for interpolation, will interpolate from the context of newTx's parent if it exists */ export declare function blendTransform(oldTx: Transform, newTx: Transform, blend: number, target?: Transform): Transform; /** * */ export declare function blendGlobalTransform(oldTx: Transform, newTx: Transform, blend: number, target?: Transform): Transform;