11 lines
329 B
TypeScript
11 lines
329 B
TypeScript
import { Primitive } from "./Primitive";
|
|
|
|
export class Quad extends Primitive {
|
|
constructor(z:number = 0,
|
|
x0:number = -1, y0:number = -1, u0:number = 0, v0:number = 0,
|
|
x1:number = 1, y1:number = 1, u1:number = 1, v1:number = 1
|
|
) {
|
|
super();
|
|
quadInit(this._primitive, z, x0, y0, u0, v0, x1, y1, u1, v1);
|
|
}
|
|
} |