-
Notifications
You must be signed in to change notification settings - Fork 11
TheGreatCleanup #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
TheGreatCleanup #52
Conversation
|
We also have around 1k warnings because of not specifying type annotations for public variables and functions, personally for now I just silenced them but I can add those type annotations if you want |
| def of[T <: Value: Tag: FromExpr](xs: List[T]) = | ||
| GSeq | ||
| .gen[Int32](0, _ + 1) | ||
| .map { i => |
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.
here an extra {
| when(n1 > n2) { | ||
| val n = n1 / n2 | ||
| val sinT2 = n * n * (1f - cosX * cosX) | ||
| when(sinT2 > 1f) { |
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.
here and everywhere else we can also get rid of {
| */ | ||
| private[cyfra] abstract class CommandPool(device: Device, queue: Queue) extends VulkanObjectHandle { | ||
| private[cyfra] abstract class CommandPool(device: Device, queue: Queue) extends VulkanObjectHandle: | ||
| protected val handle: Long = pushStack { stack => |
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.
uuu braces
* Added "-feature", "-deprecation", "-unchecked", "-language:implicitConversions" to scalacOptions
Whole code base should now use Scala3 new syntax and significant indents. If anyone sees unnecessary {} that I missed, please get rid of them.
No description provided.