Skip to content

Commit

Permalink
[#36] MR
Browse files Browse the repository at this point in the history
  • Loading branch information
Orchaldir committed Sep 11, 2023
1 parent fb4bb85 commit a0a5c7f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rpg_tools_rendering/src/rendering/eye/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ pub fn render_eyes(renderer: &mut dyn Renderer, config: &RenderConfig, aabb: &AA

match &head.eyes {
Eyes::None => {}
Eyes::One {
eye,
eyebrows,
} => {
Eyes::One { eye, eyebrows } => {
let half_height = config.eye.get_half_height(eye.get_shape(), radius);
let center = aabb.get_point(0.5, config.head.y_eye);
let eye_aabb = AABB::with_radii(center, radius, half_height);
Expand Down

0 comments on commit a0a5c7f

Please sign in to comment.