Skip to content

Commit

Permalink
removed black bars from interface, fixed arview documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ewang001 committed Nov 27, 2023
1 parent 08148a1 commit 86b5234
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified app/.DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions app/newHere1/newHere/CustomARViewRepresentable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ struct CustomARViewRepresentable: UIViewRepresentable {
var randomNumberGenerator = SystemRandomNumberGenerator()

// Define the range of random positions for x, y, and z coordinates
let xRange: ClosedRange<Float> = -3.0...3.0 // Represents a 10-meter width (-5m to +5m)
let yRange: ClosedRange<Float> = -1.0...2.0 // Represents a height range above the ground (0m to +2m)
let zRange: ClosedRange<Float> = -3.0...3.0 // Represents a 10-meter depth (-5m to +5m)
let xRange: ClosedRange<Float> = -2.0...2.0 // Represents a 4-meter width (-2m to +2m)
let yRange: ClosedRange<Float> = -1.0...2.0 // Represents a height range above the ground (-1m to +2m)
let zRange: ClosedRange<Float> = -2.0...2.0 // Represents a 4-meter depth (-2m to +2m)

for message in messages {
// Generate random positions
Expand Down
1 change: 1 addition & 0 deletions app/newHere1/newHere/Home.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ struct HomePageView: View {
/// The body of the view, presenting the AR view along with overlay controls for navigation and interaction.
var body: some View {
CustomARViewRepresentable()
.edgesIgnoringSafeArea(.all)
.environmentObject(messageState)
.environmentObject(fetchedMessagesState)
.overlay(alignment: .bottom){
Expand Down

0 comments on commit 86b5234

Please sign in to comment.