i128 -> i64

This commit is contained in:
shenjack 2023-12-23 00:32:38 +08:00
parent 62aad160e4
commit aa9475b1f4
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 6 additions and 6 deletions

View File

@ -10,4 +10,4 @@ pub mod dr;
pub mod math;
pub mod sr1;
pub type IdType = i128;
pub type IdType = i64;

View File

@ -77,7 +77,7 @@ impl EditorArea {
} else {
continue;
}
},
}
// 三角形
EditorShapeEnum::Triangle(dir1, dir2) => {
// 先平移坐标系
@ -92,7 +92,7 @@ impl EditorArea {
} else {
continue;
}
},
}
EditorShapeEnum::Compound(shapes) => {
for shape in shapes {
match shape {
@ -117,7 +117,7 @@ impl EditorArea {
} else {
continue;
}
},
}
// 三角形
EditorShapeEnum::Triangle(dir1, dir2) => {
// 先平移坐标系
@ -132,10 +132,10 @@ impl EditorArea {
} else {
continue;
}
},
}
EditorShapeEnum::Compound(_) => {
panic!("Compound in Compound");
},
}
}
}
}