playcanvas
Version:
PlayCanvas WebGL game engine
15 lines (14 loc) • 506 B
TypeScript
/**
* 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.
*
* @category Animation
*/
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';