Skip to content

Commit

Permalink
Update vek so i can get rid of outdated approx
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-t committed Jun 7, 2021
1 parent 459c6a4 commit d2eb194
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,12 @@ mq = ["macroquad", "image"]
raw_canvas = ["console_error_panic_hook", "js-sys", "wasm-bindgen", "web-sys"]

[dependencies]
approx = "0.4.0"
console_error_panic_hook = { version = "0.1.6", optional = true }
enumn = "0.1.3"
fnv = "1.0.7"
js-sys = { version = "0.3.42", optional = true }
thunderdome = "0.4.0"
vek = "0.15.0"
vek = "0.15.1"
wasm-bindgen = { version = "0.2.65", optional = true }

[dependencies.image]
Expand Down
3 changes: 1 addition & 2 deletions src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
use std::f64::consts::PI;
use std::ops::Index;

use approx::AbsDiffEq;
use enumn::N;
use rand::{prelude::SmallRng, Rng};
use vek::{Clamp, Mat2, Vec2};
use vek::{approx::AbsDiffEq, Clamp, Mat2, Vec2};

/// Position in world or screen space.
///
Expand Down

0 comments on commit d2eb194

Please sign in to comment.