UNPKG

nanogl-primitives-2d

Version:
7 lines (6 loc) 242 B
import GLArrayBuffer from 'nanogl/arraybuffer'; import { GLContext } from 'nanogl/types'; export default class Rect extends GLArrayBuffer { constructor(gl: GLContext, x?: number, y?: number, w?: number, h?: number); render(): void; }