This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // TimedStroke.metal | |
| // Delasign | |
| // | |
| // Created by Oscar De la Hera Gomez on 9/21/18. | |
| // Copyright © 2018 Delasign. All rights reserved. | |
| // | |
| #include <metal_stdlib> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct strokeTimeVariableStruct { | |
| var loopTime:Float = 10; | |
| var startTime:Float = 0; | |
| var endTime:Float = 5; | |
| init(loopTime:Float, startTime:Float, endTime:Float) { | |
| self.loopTime = loopTime; | |
| self.startTime = startTime; | |
| self.endTime = endTime; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import CryptoSwift | |
| let encryptionKey:String = "A_SIXTEEN_CHARACTER_STRING"; | |
| let encryptionIV:String = "A_SIXTEEN_CHARACTER_STRING"; | |
| public func encryptString() { | |
| let test = "hi there, good sir." | |
| let encryptedTest:String = try! test.aesEncrypt(key: encryptionKey, iv: encryptionIV) | |
| print("Test : ", test) | |
| print("Encrypted Test : ", encryptedTest) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Created by Oscar De la Hera Gomez on 10/16/18. | |
| // Copyright © 2018 Delasign. All rights shared. | |
| let configuration = ARWorldTrackingConfiguration() | |
| configuration.detectionImages = referenceImages | |
| configuration.maximumNumberOfTrackedImages = 1; | |
| session.run(configuration, options: [.resetTracking, .removeExistingAnchors]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>passes</key> | |
| <dict> | |
| <key>pass_red_blur_v</key> | |
| <dict> | |
| <key>colorStates</key> | |
| <dict> |