ops rewrite
This commit is contained in:
parent
ab6c5d583d
commit
5bb4491e0f
19
Cargo.lock
generated
19
Cargo.lock
generated
@ -27,14 +27,7 @@ dependencies = [
|
||||
"arrayvec",
|
||||
"bnum",
|
||||
"paste",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fixed_wide_vectors"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"fixed_wide",
|
||||
"paste",
|
||||
"ratio_ops",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -54,6 +47,10 @@ dependencies = [
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "linear_ops"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "paste"
|
||||
version = "1.0.15"
|
||||
@ -78,6 +75,10 @@ dependencies = [
|
||||
"proc-macro2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ratio_ops"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "strafesnet_common"
|
||||
version = "0.4.1"
|
||||
@ -85,9 +86,9 @@ dependencies = [
|
||||
"arrayvec",
|
||||
"bitflags",
|
||||
"fixed_wide",
|
||||
"fixed_wide_vectors",
|
||||
"glam",
|
||||
"id",
|
||||
"linear_ops",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -12,7 +12,7 @@ authors = ["Rhys Lloyd <krakow20@gmail.com>"]
|
||||
[dependencies]
|
||||
arrayvec = "0.7.4"
|
||||
bitflags = "2.6.0"
|
||||
fixed_wide = { path = "../fixed_wide_vectors/fixed_wide" }
|
||||
fixed_wide_vectors = { path = "../fixed_wide_vectors/fixed_wide_vectors" }
|
||||
fixed_wide = { path = "../fixed_wide_vectors/fixed_wide", features = ["deferred-division","zeroes","wide-mul"] }
|
||||
linear_ops = { path = "../fixed_wide_vectors/linear_ops" }
|
||||
glam = "0.28.0"
|
||||
id = { version = "0.1.0", registry = "strafesnet" }
|
||||
|
@ -428,9 +428,9 @@ impl TryFrom<[f32;3]> for Unit32Vec3{
|
||||
*/
|
||||
|
||||
pub type Planar64=fixed_wide::types::I32F32;
|
||||
pub type Planar64Vec3=fixed_wide_vectors::types::Vector3<Planar64>;
|
||||
pub type Planar64Mat3=fixed_wide_vectors::types::Matrix3<Planar64>;
|
||||
pub type Planar64Affine3=fixed_wide_vectors::types::Matrix4x3<Planar64>;
|
||||
pub type Planar64Vec3=linear_ops::types::Vector3<Planar64>;
|
||||
pub type Planar64Mat3=linear_ops::types::Matrix3<Planar64>;
|
||||
pub type Planar64Affine3=linear_ops::types::Matrix4x3<Planar64>;
|
||||
|
||||
#[test]
|
||||
fn test_sqrt(){
|
||||
|
Loading…
Reference in New Issue
Block a user