Skip to content

TheGreatCleanup - #52

Merged
Soleod merged 9 commits into
mainfrom
TheGreatCleanup
Jun 20, 2025
Merged

Soleod merged 9 commits into
mainfrom
TheGreatCleanup

Conversation

@Soleod

@Soleod Soleod commented Jun 18, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@Soleod
Soleod requested a review from szymon-rd June 18, 2025 19:16
@Soleod Soleod self-assigned this Jun 18, 2025
@Soleod

Soleod commented Jun 18, 2025

Copy link
Copy Markdown
Collaborator Author

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

@@ -65,9 +62,8 @@ object GSeq:
GSeq
.gen[Int32](0, _ + 1)
.map { i =>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here an extra {

@@ -19,17 +17,15 @@ object Math3D:
val sinT2 = n * n * (1f - cosX * cosX)
when(sinT2 > 1f) {

Copy link
Copy Markdown
Member

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 =>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uuu braces

@Soleod
Soleod merged commit 6392ce7 into main Jun 20, 2025
@Soleod
Soleod deleted the TheGreatCleanup branch June 20, 2025 08:22
MarconZet pushed a commit that referenced this pull request Oct 20, 2025
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants