Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

668 B
Raw Blame
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";
import type * as P from "../py";

/** The Blender interpolate module. */
export interface Api {
  /**
   * Calculate barycentric weights for a point on a polygon.
   * @returns A list of weights, one per vertex in *veclist*.
   * @param veclist Sequence of 3D positions.
   * @param pt 2D or 3D position.
   */
  poly_3d_calc(veclist: H.In<readonly (readonly number[])[]>, pt: H.In<readonly number[]>): H.Ref<number[]>;
}