粒子初步

This commit is contained in:
AncTe committed 2023-02-10 16:39:53 +08:00
1 parent 4d45553c84
commit 40e20d9b4f
11 files changed
+316 -191

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ export class Matrix4 extends Matrix {
* @param y 平移纵坐标
* @param z 平移竖坐标
*/
translation(x: number, y: number, z: number) {
translate(x: number, y: number, z: number) {
this.multipy([
[1, 0, 0, x],
[0, 1, 0, y],