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 math;
pub mod sr1; pub mod sr1;
pub type IdType = i128; pub type IdType = i64;

View File

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