Fix rotation

- The rotation was previously not taking the modulus of the degree (which is incorrect).
- `head_yaw` is currently not used, since the server only receives the yaw and pitch packet, it can be assumed that head yaw can be identical to yaw.
This commit is contained in:
lukas0008 committed 2024-08-14 01:07:20 +02:00
1 parent 02a9d79044
commit 2d3990bfa6
2 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -339,7 +339,7 @@ impl Server {
"./world".parse().unwrap(),
);
level
.read_chunks(RadialIterator::new(32).collect(), sender)
.read_chunks(RadialIterator::new(2).collect(), sender)
.await;
});