From 3944eb6691dc1602cfebb3430d645906ea876a07 Mon Sep 17 00:00:00 2001 From: ThatNintendoNerd Date: Mon, 19 Feb 2024 15:12:35 -0800 Subject: [PATCH] Rename `util` module to `vector` --- lvd_lib/src/lib.rs | 2 +- lvd_lib/src/objects/base.rs | 2 +- lvd_lib/src/objects/collision.rs | 2 +- lvd_lib/src/objects/collision/cliff.rs | 2 +- lvd_lib/src/objects/field_smash.rs | 2 +- lvd_lib/src/objects/point.rs | 2 +- lvd_lib/src/objects/ptrainer.rs | 2 +- lvd_lib/src/shape.rs | 2 +- lvd_lib/src/{util.rs => vector.rs} | 0 9 files changed, 8 insertions(+), 8 deletions(-) rename lvd_lib/src/{util.rs => vector.rs} (100%) diff --git a/lvd_lib/src/lib.rs b/lvd_lib/src/lib.rs index 80ee5a0..481ed45 100644 --- a/lvd_lib/src/lib.rs +++ b/lvd_lib/src/lib.rs @@ -18,7 +18,7 @@ pub mod objects; pub mod shape; pub mod string; pub mod tag; -pub mod util; +pub mod vector; pub mod version; use array::LvdArray; diff --git a/lvd_lib/src/objects/base.rs b/lvd_lib/src/objects/base.rs index 79252e5..3d21936 100644 --- a/lvd_lib/src/objects/base.rs +++ b/lvd_lib/src/objects/base.rs @@ -7,7 +7,7 @@ use serde::{Deserialize, Serialize}; use crate::{ id::Id, string::{LvdFixedString56, LvdFixedString64}, - util::Vector3, + vector::Vector3, version::{Version, Versioned}, }; diff --git a/lvd_lib/src/objects/collision.rs b/lvd_lib/src/objects/collision.rs index 517f440..31a79a1 100644 --- a/lvd_lib/src/objects/collision.rs +++ b/lvd_lib/src/objects/collision.rs @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize}; use crate::{ array::LvdArray, objects::base::{Base, MetaInfo}, - util::Vector2, + vector::Vector2, version::{Version, Versioned}, }; diff --git a/lvd_lib/src/objects/collision/cliff.rs b/lvd_lib/src/objects/collision/cliff.rs index 748e09f..927b216 100644 --- a/lvd_lib/src/objects/collision/cliff.rs +++ b/lvd_lib/src/objects/collision/cliff.rs @@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize}; use crate::{ objects::base::Base, - util::Vector2, + vector::Vector2, version::{Version, Versioned}, }; diff --git a/lvd_lib/src/objects/field_smash.rs b/lvd_lib/src/objects/field_smash.rs index 2616c5e..6d14c8f 100644 --- a/lvd_lib/src/objects/field_smash.rs +++ b/lvd_lib/src/objects/field_smash.rs @@ -10,7 +10,7 @@ use crate::{ shape::{LvdPath, LvdShape2, LvdShape3, Rect}, string::LvdFixedString32, tag::Tag, - util::Vector2, + vector::Vector2, version::{Version, Versioned}, }; diff --git a/lvd_lib/src/objects/point.rs b/lvd_lib/src/objects/point.rs index f401b61..dcba373 100644 --- a/lvd_lib/src/objects/point.rs +++ b/lvd_lib/src/objects/point.rs @@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize}; use crate::{ objects::base::{Base, MetaInfo}, - util::Vector2, + vector::Vector2, version::{Version, Versioned}, }; diff --git a/lvd_lib/src/objects/ptrainer.rs b/lvd_lib/src/objects/ptrainer.rs index 774697f..00b6e90 100644 --- a/lvd_lib/src/objects/ptrainer.rs +++ b/lvd_lib/src/objects/ptrainer.rs @@ -8,7 +8,7 @@ use crate::{ array::LvdArray, objects::base::Base, string::LvdFixedString64, - util::Vector3, + vector::Vector3, version::{Version, Versioned}, }; diff --git a/lvd_lib/src/shape.rs b/lvd_lib/src/shape.rs index 89897ab..feb8851 100644 --- a/lvd_lib/src/shape.rs +++ b/lvd_lib/src/shape.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; use crate::{ array::LvdArray, - util::Vector2, + vector::Vector2, version::{Version, Versioned}, }; diff --git a/lvd_lib/src/util.rs b/lvd_lib/src/vector.rs similarity index 100% rename from lvd_lib/src/util.rs rename to lvd_lib/src/vector.rs