UNPKG

@thi.ng/webgl

Version:

WebGL & GLSL abstraction layer

22 lines 588 B
import { type ModelSpec } from "../api/model.js"; export interface QuadOpts { /** * Side length of the quad in each direction (always square). * * @defaultValue 2.0 */ size: number; /** * @defaultValue true */ uv: boolean; /** * If true, the quad's position will be centered around `(0,0)`. If false, * the quad's bottom-left corner will be at `(0,0)` . * * @defaultValue true */ center: boolean; } export declare const defQuadModel: (opts?: Partial<QuadOpts>) => ModelSpec; //# sourceMappingURL=quad.d.ts.map