@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
18 lines • 787 B
TypeScript
/**
* Linear-blend interpolation for {@link Transform}, matching the wire
* layout of {@link TransformReplicationAdapter}: 3×Float32 position +
* uint32 packed quaternion + equality-encoded scale.
*
* Position lerps componentwise; rotation nlerps with shortest-path
* correction; scale decodes/lerps/re-encodes (output is still valid
* equality-encoded).
*
* @author Alex Goldring
* @copyright Company Named Limited (c) 2025
*/
export class TransformInterpolationAdapter extends BinaryInterpolationAdapter {
/** @inheritdoc */
interpolate(out_buffer: any, source: any, first_offset: any, second_offset: any, t: any): void;
}
import { BinaryInterpolationAdapter } from "../sim/BinaryInterpolationAdapter.js";
//# sourceMappingURL=TransformInterpolationAdapter.d.ts.map