/** * An AnimBlendTree that calculates its weights using the 2D Cartesian algorithm from chapter 6, * section 3 of * [Rune Skovbo Johansen's thesis](https://runevision.com/thesis/rune_skovbo_johansen_thesis.pdf). * * The children sit at points on a plane defined by two parameters, and weights are computed from * where the current parameter point lies among them, treating the two axes as independent. Use it * when the parameters are unrelated quantities, such as forward speed against turn rate. * * @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';