Skip to content

Commit

Permalink
upgraded joml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugobros3 committed Jun 25, 2023
1 parent cfa6697 commit dd271ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api
Submodule api updated 1 files
+1 −1 build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import xyz.chunkstories.api.world.World
fun World.getConditions(): WorldConditions {
val dayCycle = sky.timeOfDay
val sunPos = Vector3d(0.5, -1.0, 0.0)
sunPos.rotateAbout(dayCycle * Math.PI * 2.0, 1.0, 0.0, 0.0).normalize()
sunPos.rotateAxis(dayCycle * Math.PI * 2.0, 1.0, 0.0, 0.0).normalize()
return WorldConditions(
time = dayCycle,
sunPosition = sunPos,
Expand Down

0 comments on commit dd271ca

Please sign in to comment.