Skip to content
Snippets Groups Projects
Commit 59d168f5 authored by joschi's avatar joschi
Browse files

Update ExploreViewController.swift -- stone-anchor-filenames

parent 88fe79a1
Branches
No related tags found
No related merge requests found
......@@ -214,7 +214,7 @@ class ExploreViewController: UIViewController, ARSessionDelegate, UIAlertViewDel
print("inTask1: no imageAnchor found")
return
}
if let imageName = imageAnchor.name, imageName == "stone_h_a" { //"demo_stone_texture02" - "stone_H_schwarz"
if let imageName = imageAnchor.name, imageName == "stone_H_schwarz" { //"demo_stone_texture02" - "stone_H_schwarz"
print("Station Passwords - Task 1.1: stone for H anchor found")
rkView.session.remove(anchor: imageAnchor)
rkView.session.pause()
......@@ -224,7 +224,7 @@ class ExploreViewController: UIViewController, ARSessionDelegate, UIAlertViewDel
self.task11_stone_to_use = "H"
return
}
if let imageName = imageAnchor.name, imageName == "stone_i_a" { //"demo_stone_texture03" - "stone_i_schwarz"
if let imageName = imageAnchor.name, imageName == "stone_i_schwarz" { //"demo_stone_texture03" - "stone_i_schwarz"
print("Station Passwords - Task 1.1: stone for i anchor found")
rkView.session.remove(anchor: imageAnchor)
rkView.session.pause()
......@@ -234,7 +234,7 @@ class ExploreViewController: UIViewController, ARSessionDelegate, UIAlertViewDel
self.task11_stone_to_use = "i"
return
}
if let imageName = imageAnchor.name, imageName == "stone_1_a" { //"demo_stone_texture05" - "stone_1_schwarz"
if let imageName = imageAnchor.name, imageName == "stone_1_schwarz" { //"demo_stone_texture05" - "stone_1_schwarz"
print("Station Passwords - Task 1.1: stone for One anchor found")
rkView.session.remove(anchor: imageAnchor)
rkView.session.pause()
......@@ -244,7 +244,7 @@ class ExploreViewController: UIViewController, ARSessionDelegate, UIAlertViewDel
self.task11_stone_to_use = "1"
return
}
if let imageName = imageAnchor.name, imageName == "stone_frage_a" { //"demo_stone_texture06" - "stone_Fragezeichen_schwarz" //"demo_stone_texture06"
if let imageName = imageAnchor.name, imageName == "stone_Fragezeichen_schwarz" { //"demo_stone_texture06" - "stone_Fragezeichen_schwarz" //"demo_stone_texture06"
print("Station Passwords - Task 1.1: stone for questionmark anchor found")
rkView.session.remove(anchor: imageAnchor)
rkView.session.pause()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment