aboutsummaryrefslogtreecommitdiffstats
path: root/src/pressure.rs
diff options
context:
space:
mode:
authorsam-anthony <samanthony6@protonmail.com>2022-01-26 06:37:29 -0330
committersam-anthony <samanthony6@protonmail.com>2022-01-26 06:37:29 -0330
commitb45ddda0fda44ffb5e4ffbfe94b4d293b06d883e (patch)
treeb0167611d285da4302b575ae35f93ee4902eb3dd /src/pressure.rs
parenteb55242f08fcd4a9a3fdcc8de1110999614c8813 (diff)
downloadvolute-b45ddda0fda44ffb5e4ffbfe94b4d293b06d883e.zip
basic input handling
Diffstat (limited to 'src/pressure.rs')
-rw-r--r--src/pressure.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/pressure.rs b/src/pressure.rs
deleted file mode 100644
index f746186..0000000
--- a/src/pressure.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-pub struct Pressure(f64); // Base unit is pascals
-
-impl Pressure {
- pub fn from_pascals(pascals: f64) -> Self {
- Self(pascals)
- }
-
- pub fn as_pascals(&self) -> f64 {
- self.0
- }
-}