Add help view and refine AR tank placement
This commit is contained in:
@ -19,11 +19,11 @@ struct TankCatalogTests {
|
||||
"sizeDisplayNames": { "t1_2": "1,2 t", "t2_9": "2,9 t" },
|
||||
"colorDisplayNames": { "white": "Weiß", "green": "Hellgrün", "olive": "Olivgrün" },
|
||||
"tanks": [
|
||||
{ "size": "t1_2", "color": "white", "placement": "aboveGround", "modelPath": "DG-2700_wh.usdz" },
|
||||
{ "size": "t1_2", "color": "green", "placement": "aboveGround", "modelPath": "DG-2700_mi.usdz" },
|
||||
{ "size": "t1_2", "color": "olive", "placement": "belowGround", "modelPath": "DG-2700_ol.usdz" },
|
||||
{ "size": "t2_9", "color": "white", "placement": "aboveGround", "modelPath": "DG-6400_wh.usdz" },
|
||||
{ "size": "t2_9", "color": "olive", "placement": "belowGround", "modelPath": "DG-6400_ol.usdz" }
|
||||
{ "size": "t1_2", "color": "white", "placement": "aboveGround", "modelPath": "DG-2700_wh.usdz", "domeCenterX": -0.426 },
|
||||
{ "size": "t1_2", "color": "green", "placement": "aboveGround", "modelPath": "DG-2700_mi.usdz", "domeCenterX": -0.426 },
|
||||
{ "size": "t1_2", "color": "olive", "placement": "belowGround", "modelPath": "DG-2700_ol.usdz", "domeCenterX": -0.498 },
|
||||
{ "size": "t2_9", "color": "white", "placement": "aboveGround", "modelPath": "DG-6400_wh.usdz", "domeCenterX": -1.939 },
|
||||
{ "size": "t2_9", "color": "olive", "placement": "belowGround", "modelPath": "DG-6400_ol.usdz", "domeCenterX": -2.018 }
|
||||
]
|
||||
}
|
||||
"""
|
||||
@ -43,6 +43,7 @@ struct TankCatalogTests {
|
||||
#expect(def.color == .white)
|
||||
#expect(def.placement == .aboveGround)
|
||||
#expect(def.modelPath == "DG-2700_wh.usdz")
|
||||
#expect(def.domeCenterX == -0.426)
|
||||
#expect(def.modelResourceName == "DG-2700_wh")
|
||||
#expect(def.modelFileExtension == "usdz")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user