diff options
| author | mat <git@matdoes.dev> | 2025-06-03 07:40:53 +1200 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-06-03 07:40:53 +1200 |
| commit | 5c0e5b1eb3edfdbf1542173f3cc9efcff18be511 (patch) | |
| tree | 98857bbc247e4d1187b0558328a2dd6efe00a93d /azalea-entity | |
| parent | cee64cece3ddbe4c0a41f0761d69b7c490d85040 (diff) | |
| download | azalea-drasl-5c0e5b1eb3edfdbf1542173f3cc9efcff18be511.tar.xz | |
sort entities_by by distance and improve some docs
Diffstat (limited to 'azalea-entity')
| -rw-r--r-- | azalea-entity/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs index 44a4a9ee..ad225400 100644 --- a/azalea-entity/src/lib.rs +++ b/azalea-entity/src/lib.rs @@ -389,6 +389,8 @@ pub struct Dead; /// /// This is used to calculate the camera position for players, when spectating /// an entity, and when raycasting from the entity. +/// +/// The default eye height for a player is 1.62 blocks. #[derive(Component, Clone, Copy, Debug, PartialEq, Deref, DerefMut)] pub struct EyeHeight(f32); impl EyeHeight { |
