Skip to content

Commit

Permalink
Merge pull request #12 from yale-swe/eric
Browse files Browse the repository at this point in the history
updated home and messages
  • Loading branch information
ericwang07 authored Oct 28, 2023
2 parents 0d1c56d + 8af20de commit fda4594
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
30 changes: 30 additions & 0 deletions app/here/Bubble.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// Bubble.swift
// here
//
// Created by Eric Wang on 10/28/23.
//

import Foundation
import ARKit

class Bubble: SCNNode {

override init() {
super.init()
let bubble = SCNPlane(width: 0.25, height: 0.25)
let material = SCNMaterial()
material.diffuse.contents = #imageLiteral(resourceName: "bubbleText")
material.isDoubleSided = true
material.writesToDepthBuffer = false
material.blendMode = .screen
bubble.materials = [material]
self.geometry = bubble
}

required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}


}
3 changes: 1 addition & 2 deletions app/here/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class ViewController: UIViewController {
super.viewDidLoad()
// Do any additional setup after loading the view.
}



}

0 comments on commit fda4594

Please sign in to comment.