UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

13 lines (12 loc) 480 B
/** * An AnimBlendTree that calculates its weights using a 2D Cartesian algorithm based on the thesis * http://runevision.com/thesis/rune_skovbo_johansen_thesis.pdf Chapter 6 Section 3. */ export class AnimBlendTreeCartesian2D extends AnimBlendTree { static _p: Vec2; static _pip: Vec2; pointDistanceCache(i: any, j: any): any; calculateWeights(): void; } import { AnimBlendTree } from './anim-blend-tree.js'; import { Vec2 } from '../../../core/math/vec2.js';