1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-05-04 01:37:46 +00:00

Remove unused glam dependency

This was used before we used an internal Havok packfile parser, but it's
no longer needed!
This commit is contained in:
Joshua Goins 2024-04-15 17:34:15 -04:00
parent 281fb68fca
commit 64b8998472
2 changed files with 1 additions and 5 deletions

View file

@ -44,7 +44,7 @@ game_install = []
# enables support for extracting visual data, such as models, textures, materials, etc. # enables support for extracting visual data, such as models, textures, materials, etc.
# this enables a bunch of dependencies! # this enables a bunch of dependencies!
# tip: can be safely turned off for launchers and other tools that simply need to extract the bare minimum of data # tip: can be safely turned off for launchers and other tools that simply need to extract the bare minimum of data
visual_data = ["dep:half", "dep:glam", "dep:bitflags", "dep:texpresso"] visual_data = ["dep:half", "dep:bitflags", "dep:texpresso"]
# testing only features # testing only features
retail_game_testing = [] retail_game_testing = []
@ -66,9 +66,6 @@ paste = "1"
# needed for half-float support which FFXIV uses in its model data # needed for half-float support which FFXIV uses in its model data
half = { version = "2", optional = true } half = { version = "2", optional = true }
# needed for deconstructing skeleton pose matrices
glam = { version = "0.24.1", optional = true }
# needed for c-style bitflags used in some formats (such as tex files) # needed for c-style bitflags used in some formats (such as tex files)
# cannot upgrade to 2.0.0, breaking changes that aren't recoverable: https://github.com/bitflags/bitflags/issues/314 # cannot upgrade to 2.0.0, breaking changes that aren't recoverable: https://github.com/bitflags/bitflags/issues/314
bitflags = { version = "1.3", optional = true } bitflags = { version = "1.3", optional = true }

View file

@ -8,7 +8,6 @@
use std::io::{Cursor, SeekFrom}; use std::io::{Cursor, SeekFrom};
use binrw::{binread, BinRead}; use binrw::{binread, BinRead};
use binrw::helpers::until_eof; use binrw::helpers::until_eof;
use glam::Mat4;
use crate::havok::{HavokAnimationContainer, HavokBinaryTagFileReader}; use crate::havok::{HavokAnimationContainer, HavokBinaryTagFileReader};
use crate::ByteSpan; use crate::ByteSpan;