aboutsummaryrefslogtreecommitdiff
path: root/src/classes/vectors.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-23 18:33:53 +0100
committermetamuffin <metamuffin@disroot.org>2025-03-23 18:33:53 +0100
commit756664281e6f8c37653e8769890962e8bab933e9 (patch)
tree2cf8ba24052d0482451dd79ed75691b3306d751c /src/classes/vectors.rs
parent52d4405686fac2ab750da16e0fd67be9fb2e9429 (diff)
downloadunity-tools-756664281e6f8c37653e8769890962e8bab933e9.tar
unity-tools-756664281e6f8c37653e8769890962e8bab933e9.tar.bz2
unity-tools-756664281e6f8c37653e8769890962e8bab933e9.tar.zst
allow preloading files
Diffstat (limited to 'src/classes/vectors.rs')
-rw-r--r--src/classes/vectors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/vectors.rs b/src/classes/vectors.rs
index 14c5a59..b7127bf 100644
--- a/src/classes/vectors.rs
+++ b/src/classes/vectors.rs
@@ -30,7 +30,7 @@ impl FromValue for Vec4 {
}
}
-#[derive(Debug, Serialize)]
+#[derive(Debug, Serialize, Clone, Copy)]
pub struct ColorRGBA(pub Vec4);
impl FromValue for ColorRGBA {
fn from_value(v: Value) -> anyhow::Result<Self> {