1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 23:44:38 +00:00

raycasting not raytracing

This commit is contained in:
mat 2023-08-19 20:44:04 -05:00
commit e511ad3c31

View file

@ -229,7 +229,7 @@ pub struct Dead;
/// coordinates. /// coordinates.
/// ///
/// This is used to calculate the camera position for players, when spectating /// This is used to calculate the camera position for players, when spectating
/// an entity, and when raytracing from the entity. /// an entity, and when raycasting from the entity.
#[derive(Component, Clone, Copy, Debug, PartialEq, Deref, DerefMut)] #[derive(Component, Clone, Copy, Debug, PartialEq, Deref, DerefMut)]
pub struct EyeHeight(f32); pub struct EyeHeight(f32);
impl From<EyeHeight> for f32 { impl From<EyeHeight> for f32 {