-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merging visionos branch into main #87
Conversation
Co-Authored-By: Aurelius Prochazka <[email protected]>
|
||
let size = layer.drawableSize | ||
let w = Float(size.width) | ||
let h = Float(size.height) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identifier Name Violation: Variable name should be between 3 and 40 characters long: 'h' (identifier_name)
updateWaveform(samples: dataCallback()) | ||
|
||
let size = layer.drawableSize | ||
let w = Float(size.width) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identifier Name Violation: Variable name should be between 3 and 40 characters long: 'w' (identifier_name)
updateWaveform(samples: dataCallback()) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing Whitespace Violation: Lines should not have trailing whitespace. (trailing_whitespace)
layerRenderPassDescriptor = MTLRenderPassDescriptor() | ||
layerRenderPassDescriptor.colorAttachments[0].loadAction = .clear | ||
layerRenderPassDescriptor.colorAttachments[0].storeAction = .store | ||
layerRenderPassDescriptor.colorAttachments[0].clearColor = MTLClearColorMake(0, 0, 0, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing Semicolon Violation: Lines should not have trailing semicolons. (trailing_semicolon)
} | ||
|
||
var metalLayer: CAMetalLayer { | ||
layer as! CAMetalLayer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Force Cast Violation: Force casts should be avoided. (force_cast)
I did some testing and merging vision os changes into main is safe to do, please merge.