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:
parent
226e726c29
commit
e511ad3c31
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue