1 | import { point3 } from './type.d';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | export interface matrix4 {
|
7 |
|
8 | |
9 |
|
10 |
|
11 | value(),
|
12 |
|
13 | |
14 |
|
15 |
|
16 |
|
17 |
|
18 | multiply(newMatrix4: matrix4, flag?: boolean): matrix4,
|
19 |
|
20 | |
21 |
|
22 |
|
23 | use(x: number, y: number, z: number, w: number): point3,
|
24 |
|
25 | |
26 |
|
27 |
|
28 | move(dis: number, a: number, b: number, c: number): matrix4,
|
29 |
|
30 | |
31 |
|
32 |
|
33 | scale(xTimes: number, yTimes: number, zTimes: number, cx: number, cy: number, cz: number): matrix4,
|
34 |
|
35 | |
36 |
|
37 |
|
38 | rotate(deg?: number, a1?: number, b1?: number, c1?: number, a2?: number, b2?: number, c2?: number): matrix4,
|
39 |
|
40 | }
|