mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-29 10:25:50 +08:00
Sea of Bygone Eras layered map (#2559)
This commit is contained in:
@@ -117,7 +117,7 @@ public class BaseMapLayer(SceneBaseMap baseMap)
|
||||
return 0;
|
||||
}
|
||||
|
||||
return a.Floor > b.Floor ? 1 : -1;
|
||||
return a.Floor < b.Floor ? 1 : -1;
|
||||
});
|
||||
return layers;
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ public abstract class SceneBaseMap : ISceneMap
|
||||
{
|
||||
try
|
||||
{
|
||||
var result = SiftMatcher.KnnMatch(layer.TrainKeyPoints, layer.TrainDescriptors, greyMiniMapMat);
|
||||
var result = SiftMatcher.KnnMatch(layer.TrainKeyPoints, layer.TrainDescriptors, greyMiniMapMat, null, DescriptorMatcherType.BruteForce);
|
||||
if (result != default)
|
||||
{
|
||||
return result;
|
||||
|
||||
@@ -50,6 +50,8 @@ public class SeaOfBygoneErasMap : SceneBaseMap
|
||||
splitCol: 0)
|
||||
{
|
||||
ExtractAndSaveFeature(Global.Absolute("Assets/Map/SeaOfBygoneEras/SeaOfBygoneEras_0_1024.png"));
|
||||
ExtractAndSaveFeature(Global.Absolute("Assets/Map/SeaOfBygoneEras/SeaOfBygoneEras_-1_1024.webp"));
|
||||
ExtractAndSaveFeature(Global.Absolute("Assets/Map/SeaOfBygoneEras/SeaOfBygoneEras_-2_1024.webp"));
|
||||
Layers = BaseMapLayer.LoadLayers(this);
|
||||
|
||||
var mapTeleports = new List<Point>();
|
||||
|
||||
Reference in New Issue
Block a user